Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a styled button with a wave like animation #98

Merged
merged 3 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions buttons/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -1768,6 +1768,39 @@ box-shadow: rgb(40, 159, 237) 5px 5px 0px 0px, rgb(95, 184, 255) 10px 10px 0px 0
/* cypherrs 2nd bt end */


/* kkartik07's 1st btn start */
.kkartik07-btn-1 {
padding: 18px 32px;
font-size: 30px;
border: none;
outline: none;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
cursor: pointer;
margin: 8px 15px;
transition: 0.2s ease;
background: #003877d5;
color: rgba(255, 255, 255, 0.756);
position: relative;
overflow: hidden;
box-shadow: rgba(110, 110, 119, 0.452) 0px 8px 30px 0px;
}
.kkartik07-btn-1::before {
width: 200%;
height: 200%;
content: "";
transform: rotate(-45deg);
position: absolute;
top: -10%;
left: -180%;
background: rgba(119, 129, 238, 0.2);
transition: 0.3s ease-in-out;
}
.kkartik07-btn-1:hover::before {
left: 55%;
}
/* kkartik07's 1st btn end */


/* Deepak Kumar btn start */
.DeepakKumar-button-31 {
position: absolute;
Expand Down Expand Up @@ -2013,3 +2046,4 @@ box-shadow: rgb(40, 159, 237) 5px 5px 0px 0px, rgb(95, 184, 255) 10px 10px 0px 0
}

/* Sumit-btn-3 end */

11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,17 @@
<!-- cyphers 2nd button end -->


<!-- kkartik07's button start -->
<div class="button-container">
<button class="kkartik07-btn-1"> Hover me </button>
<div class="createdby-section">
Created by
<a href="https://github.com/kkartik07">kkartik07</a>
</div>
</div>
<!-- kkartik07's button end -->


<!--Deepak Kumar btn start-->
<div class = "button-container">
<button class = "DeepakKumar-button-31"><span> Hover Me</span></button>
Expand Down