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

Added my customized hover button #140

Merged
merged 3 commits into from
Oct 26, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
24 changes: 24 additions & 0 deletions buttons/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -2528,3 +2528,27 @@ a:focus-visible {
content: attr(data-front);
transform: translateY(0) rotateX(0);
}

.lavesh-btn-1{
width: 170px;
height: 40px;
padding-top: 10px;
padding-bottom: 30px;
text-align: center;
color: #000;
text-transform: uppercase;
font-weight: 600;
margin-left: 30px;
margin-bottom: 30px;
cursor: pointer;
display: inline-block;
border: 2px solid #3c73ff;
background-color: #3c73ff;
border-radius: 20px;
color: #fff;
transition: .3s;
}
.lavesh-btn-1:hover{
box-shadow: 8px 8px #99bdff;
transition: .3s;
}
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,17 @@
</div>
</div>
<!--0b51d14n217's btn-->


<!--lavesh's btn-->
<div class="button-container">
<a class="lavesh-btn-1" data-back="Hover Me" data-front="Hover Me">Hover me</a>
<div class="createdby-section">
Created by
<a href="https://github.com/laveshverma007">Lavesh Verma</a>
</div>
</div>
<!--lavesh's btn-->


</div>
Expand Down