Skip to content

Commit 5fa67e1

Browse files
Merge branch 'main' into aditya-ahirwar
2 parents 44aa895 + 81a44e1 commit 5fa67e1

File tree

2 files changed

+64
-7
lines changed

2 files changed

+64
-7
lines changed

buttons/buttons.css

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@ a:focus-visible {
23132313

23142314
/* Aditya's button starts */
23152315

2316-
.aditya-btn {
2316+
.aditya-btn-1 {
23172317
width: 150px;
23182318
height: 50px;
23192319
color: white;
@@ -2329,7 +2329,7 @@ a:focus-visible {
23292329
transition: all 0.2s ease;
23302330
z-index: 1;
23312331
}
2332-
.aditya-btn:after {
2332+
.aditya-btn-1:after {
23332333
position: absolute;
23342334
content: "";
23352335
width: 0;
@@ -2341,12 +2341,52 @@ a:focus-visible {
23412341
transition: all 0.2s ease-in-out;
23422342
z-index: -1;
23432343
}
2344-
.aditya-btn:hover:after {
2344+
.aditya-btn-1:hover:after {
23452345
top: auto;
23462346
bottom: 0;
23472347
width: 100%;
23482348
height: 100%;
23492349
border-radius: 40%;
23502350
border: none;
23512351
}
2352-
/* Aditya's button end */
2352+
/* Aditya's button end */
2353+
2354+
/* Gaurav Sharma's button 1 starts*/
2355+
2356+
.gauravsharmatheofficial-btn-1-svg {
2357+
position: absolute;
2358+
right: 54px;
2359+
top: 114px;
2360+
fill: none;
2361+
stroke: #fff;
2362+
stroke-dasharray: 150 480;
2363+
stroke-dashoffset: 150;
2364+
transition: 1s ease-in-out;
2365+
}
2366+
2367+
.gauravsharmatheofficial-btn-1 {
2368+
width: 180px;
2369+
height: 60px;
2370+
cursor: pointer;
2371+
background: transparent;
2372+
border: 1px solid #a5d3fd;
2373+
outline: none;
2374+
transition: 1s ease-in-out;
2375+
}
2376+
2377+
.gauravsharmatheofficial-btn-1:hover {
2378+
transition: 1s ease-in-out;
2379+
background: #5f9ad4;
2380+
}
2381+
2382+
.gauravsharmatheofficial-btn-1:hover .gauravsharmatheofficial-btn-1-svg {
2383+
stroke-dashoffset: -480;
2384+
}
2385+
2386+
.gauravsharmatheofficial-btn-1-span {
2387+
color: white;
2388+
font-size: 18px;
2389+
font-weight: 100;
2390+
}
2391+
2392+
/* Gaurav Sharma's button 1 end*/

index.html

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,22 +588,39 @@
588588
<button class="radzhiv-btn-1">Hover me</button>
589589
<div class="createdby-section">
590590
Created by
591-
<a href="https://github.com/radzhiv25">radzhiv</a>
591+
<a href="https://github.com/radzhiv25">radzhiv25</a>
592592
</div>
593593
</div>
594594
<!-- radzhiv's btn end -->
595595

596+
596597
<!-- Aditya's btn start -->
597598
<div class="button-container">
598-
<button class="aditya-btn">Hover Me</button>
599+
<button class="aditya-btn-1">Hover Me</button>
599600
<div class="createdby-section">
600601
Created by
601-
<a href="https://github.com/Aditya-ahirwar">Aditya Ahirwar</a>
602+
<a href="https://github.com/Aditya-ahirwar">Aditya-ahirwar</a>
602603
</div>
603604
</div>
604605
<!-- Aditya's btn end -->
605606

606607

608+
<!-- Gaurav Sharma's btn start-->
609+
<div class="button-container ">
610+
<button class="gauravsharmatheofficial-btn-1">
611+
<svg class="gauravsharmatheofficial-btn-1-svg" width="180px" height="60px" viewBox="0 0 180 60">
612+
<polyline points="179,1 179,59 1,59 1,1 179,1"/>
613+
<polyline points="179,1 179,59 1,59 1,1 179,1"/>
614+
</svg>
615+
<span class="gauravsharmatheofficial-btn-1-span"> Hover Me </span></button>
616+
<div class="createdby-section">
617+
Created by
618+
<a href="https://github.com/gauravsharmatheofficial">gauravsharmatheofficial</a>
619+
</div>
620+
</div>
621+
<!-- Gaurav Sharma's btn end-->
622+
623+
607624
</div>
608625

609626
</main>

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