Skip to content

Added the Cool Hover-Button #135

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

Closed
wants to merge 1 commit into from
Closed
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
22 changes: 22 additions & 0 deletions buttons/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -2349,3 +2349,25 @@ a:focus-visible {
}

/* Gaurav Sharma's button 1 end*/
/*0xYashwanth's Button starts*/
._0xYashwanth-btn-1{
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@700;900&display=swap');
height: 3.5rem;
width: 8rem;
padding: 0 2rem;
border-radius: 1rem;
background: linear-gradient(
-45deg,#9925ea,#338aff,#9925ea

);
background-size: 400%;
background-position: 90% 0;
color: #ffff;
transition: background 0.8s;
font-family: 'Work Sans', sans-serif;
font-weight: bolder;
}
._0xYashwanth-btn-1:hover{
background-position: 185% 50%;
cursor: pointer;
}
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,16 @@
</div>
<!-- Gaurav Sharma's btn end-->

<!-- 0xYashwanth's btn start-->
<div class="button-container ">
<button class="_0xYashwanth-btn-1">H o v e r M e</button>
<div class="createdby-section">
Created by
<a href="https://github.com/0xYashwanth">0xYashwanth</a>
</div>
</div>
<!-- 0xYashwanth's btn end-->

</div>

</main>
Expand Down