Skip to content

Commit 5d8591f

Browse files
Merge pull request #130 from shivanshi-s/shivanshi_branch
Added a new button
2 parents 644dddc + fdfc490 commit 5d8591f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

buttons/buttons.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,6 +2310,30 @@ a:focus-visible {
23102310

23112311
/*radzhiv's btn end*/
23122312

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

23142338
/* avishaan24's btn start */
23152339

index.html

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

596+
597+
<!-- shivanshi btn start -->
598+
<div class="button-container">
599+
<button class="shivanshi-s-btn-1">Hover me</button>
600+
<div class="createdby-section">
601+
Created by
602+
<a href="https://github.com/shivanshi-s">shivanshi-s</a>
603+
</div>
604+
</div>
605+
<!-- shivanshi btn end -->
606+
607+
596608
<!-- avishaan24-btn-1 start -->
597609
<div class="button-container">
598610
<!-- add your buttons here, eg.-->
@@ -605,6 +617,7 @@
605617
</div>
606618
<!-- avishaan24-btn-1 end -->
607619

620+
608621
<!-- Aditya's btn start -->
609622
<div class="button-container">
610623
<button class="aditya-btn-1">Hover Me</button>

0 commit comments

Comments
 (0)