Skip to content

Commit 7ac3cff

Browse files
committed
Added a new button
1 parent 7ae91b4 commit 7ac3cff

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

buttons/buttons.css

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2308,4 +2308,27 @@ a:focus-visible {
23082308
}
23092309
}
23102310

2311-
/*radzhiv's btn end*/
2311+
/*radzhiv's btn end*/
2312+
/* shivanshi btn start */
2313+
.shivanshi-s-btn-1 {
2314+
box-sizing: border-box;
2315+
appearance: none;
2316+
background-color: transparent;
2317+
cursor: pointer;
2318+
font-size: 1rem;
2319+
margin: 20px;
2320+
padding: 1.2em 2.8em;
2321+
text-decoration: none;
2322+
font-family: 'Montserrat', sans-serif;
2323+
font-weight: 700;
2324+
border-color: #3330E4;
2325+
color: #67f878;
2326+
background-image: linear-gradient(to bottom, transparent 30%, #248f86 90%);
2327+
background-position: 0% 0%;
2328+
transition: background 15ms ease-in-out, color 150ms ease-in-out;
2329+
}
2330+
.shivanshi-s-btn-1:hover {
2331+
color: white;
2332+
background-position: 0 800%;
2333+
}
2334+
/* shivanshi btn end */

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,16 @@
593593
</div>
594594
<!-- radzhiv's btn end -->
595595

596+
<!-- shivanshi btn start -->
597+
<div class="button-container">
598+
<button class="shivanshi-s-btn-1">Hover me</button>
599+
<div class="createdby-section">
600+
Created by
601+
<a href="https://github.com/shivanshi-s">Shivanshi</a>
602+
</div>
603+
</div>
604+
<!-- shivanshi btn end -->
605+
596606

597607
</div>
598608

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy