Skip to content

Commit 0fa83c6

Browse files
Merge branch 'main' into new-btn
2 parents 4bd9104 + b9e99c4 commit 0fa83c6

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed

Diff for: buttons/buttons.css

+44-1
Original file line numberDiff line numberDiff line change
@@ -2179,6 +2179,7 @@ a:focus-visible {
21792179

21802180
/* Jasimrazi-btn-1 ends here */
21812181

2182+
21822183
/* cypher's btn-3 start */
21832184

21842185
.cypher-btn-3 {
@@ -2205,4 +2206,46 @@ a:focus-visible {
22052206

22062207

22072208

2208-
/* cypher's btn-3 end*/
2209+
/* cypher's btn-3 end*/
2210+
2211+
/* Deepesh Sharma's button 1 starts*/
2212+
.deepeshsharmaofficial-button-1 {
2213+
border: 1px solid #3498db;
2214+
background: none;
2215+
padding: 10px 40px;
2216+
font-size: 20px;
2217+
font-family: "montserrat";
2218+
font-weight: bold;
2219+
cursor: pointer;
2220+
margin: 10px;
2221+
transition: 0.8s ease-out;
2222+
position: relative;
2223+
overflow: hidden;
2224+
color: #fff;
2225+
z-index: 1;
2226+
}
2227+
2228+
.deepeshsharmaofficial-button-1:hover {
2229+
color: #3498db;
2230+
font-weight: bold;
2231+
}
2232+
2233+
.deepeshsharmaofficial-button-1::before {
2234+
content: "";
2235+
position: absolute;
2236+
left: 0;
2237+
width: 100%;
2238+
height: 0%;
2239+
background: #2498db;
2240+
z-index: -1;
2241+
transition: 0.8s;
2242+
top: 0;
2243+
border-radius: 0 0 50% 50%;
2244+
height: 180%;
2245+
}
2246+
2247+
.deepeshsharmaofficial-button-1:hover::before {
2248+
height: 0%;
2249+
}
2250+
/* Deepesh Sharma's button 1 ends*/
2251+

Diff for: index.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@
553553
</div>
554554
<!--Jasim Razi btn end-->
555555

556-
556+
557557
<!-- cypher's btn-3 start -->
558558
<div class="button-container">
559559
<button class="cypher-btn-3">Hover me</button>
@@ -564,6 +564,17 @@
564564
</div>
565565
<!-- cyphers btn-3 end -->
566566

567+
568+
<!-- Deepesh Sharma btn start-->
569+
<div class="button-container ">
570+
<button class="deepeshsharmaofficial-button-1"><span> Hover Me </span></button>
571+
<div class="createdby-section">
572+
Created by
573+
<a href="https://github.com/deepeshsharmaofficial"> Deepesh Sharma </a>
574+
</div>
575+
</div>
576+
<!-- Deepesh Sharma btn end-->
577+
567578
</div>
568579

569580
</main>

0 commit comments

Comments
 (0)