Skip to content

Commit b9e99c4

Browse files
Merge pull request #106 from deepeshsharmaofficial/main
add new button
2 parents 5a85c48 + 3582bfb commit b9e99c4

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

buttons/buttons.css

+40
Original file line numberDiff line numberDiff line change
@@ -2179,3 +2179,43 @@ a:focus-visible {
21792179

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

2182+
/* Deepesh Sharma's button 1 starts*/
2183+
.deepeshsharmaofficial-button-1 {
2184+
border: 1px solid #3498db;
2185+
background: none;
2186+
padding: 10px 40px;
2187+
font-size: 20px;
2188+
font-family: "montserrat";
2189+
font-weight: bold;
2190+
cursor: pointer;
2191+
margin: 10px;
2192+
transition: 0.8s ease-out;
2193+
position: relative;
2194+
overflow: hidden;
2195+
color: #fff;
2196+
z-index: 1;
2197+
}
2198+
2199+
.deepeshsharmaofficial-button-1:hover {
2200+
color: #3498db;
2201+
font-weight: bold;
2202+
}
2203+
2204+
.deepeshsharmaofficial-button-1::before {
2205+
content: "";
2206+
position: absolute;
2207+
left: 0;
2208+
width: 100%;
2209+
height: 0%;
2210+
background: #2498db;
2211+
z-index: -1;
2212+
transition: 0.8s;
2213+
top: 0;
2214+
border-radius: 0 0 50% 50%;
2215+
height: 180%;
2216+
}
2217+
2218+
.deepeshsharmaofficial-button-1:hover::before {
2219+
height: 0%;
2220+
}
2221+
/* Deepesh Sharma's button 1 ends*/

index.html

+9
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,15 @@
553553
</div>
554554
<!--Jasim Razi btn end-->
555555

556+
<!-- Deepesh Sharma btn start-->
557+
<div class="button-container ">
558+
<button class="deepeshsharmaofficial-button-1"><span> Hover Me </span></button>
559+
<div class="createdby-section">
560+
Created by
561+
<a href="https://github.com/deepeshsharmaofficial"> Deepesh Sharma </a>
562+
</div>
563+
</div>
564+
<!-- Deepesh Sharma btn end-->
556565
</div>
557566

558567
</main>

0 commit comments

Comments
 (0)