Skip to content

Commit 58fd6e2

Browse files
committed
Added adilcodes 1st button
1 parent 8abcb61 commit 58fd6e2

File tree

2 files changed

+54
-7
lines changed

2 files changed

+54
-7
lines changed

buttons/buttons.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2703,3 +2703,39 @@ a:focus-visible {
27032703
}
27042704
}
27052705

2706+
2707+
/* adilcodes-btn-1 start */
2708+
.adilcodes-btn-1{
2709+
border: 0;
2710+
cursor: pointer;
2711+
padding: 13px 32px;
2712+
font-size: 14px;
2713+
position: relative;
2714+
z-index:0;
2715+
transition: 0.3s ease 0.1s;
2716+
overflow: hidden;
2717+
background-color: #fff;
2718+
box-shadow: 0px 0px 5px 1px #00000011;
2719+
}
2720+
.adilcodes-btn-1::after{
2721+
content: "";
2722+
position: absolute;
2723+
top: 0;
2724+
left: 0;
2725+
width: 0%;
2726+
height: 100%;
2727+
background-color: rgb(252, 40, 71);
2728+
transition: 0.5s ease;
2729+
z-index: -1;
2730+
scale: 0.6;
2731+
}
2732+
.adilcodes-btn-1:hover::after{
2733+
width: 100%;
2734+
scale: 1.21;
2735+
/* rotate: 180deg; */
2736+
transform: rotateX(180deg) rotateZ(45deg);
2737+
}
2738+
.adilcodes-btn-1:hover{
2739+
color: #fff;
2740+
}
2741+
/* adilcodes-btn-1 end */

index.html

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -633,10 +633,10 @@
633633
<div class="button-container ">
634634
<button class="gauravsharmatheofficial-btn-1">
635635
<svg class="gauravsharmatheofficial-btn-1-svg" width="180px" height="60px" viewBox="0 0 180 60">
636-
<polyline points="179,1 179,59 1,59 1,1 179,1"/>
637-
<polyline points="179,1 179,59 1,59 1,1 179,1"/>
638-
</svg>
639-
<span class="gauravsharmatheofficial-btn-1-span"> Hover Me </span></button>
636+
<polyline points="179,1 179,59 1,59 1,1 179,1" />
637+
<polyline points="179,1 179,59 1,59 1,1 179,1" />
638+
</svg>
639+
<span class="gauravsharmatheofficial-btn-1-span"> Hover Me </span></button>
640640
<div class="createdby-section">
641641
Created by
642642
<a href="https://github.com/gauravsharmatheofficial">gauravsharmatheofficial</a>
@@ -666,8 +666,8 @@
666666
</div>
667667

668668
<!--0b51d14n217's btn-->
669-
670-
669+
670+
671671
<!--lavesh's btn-->
672672
<div class="button-container">
673673
<a class="lavesh-btn-1" data-back="Hover Me" data-front="Hover Me">Hover me</a>
@@ -708,6 +708,17 @@
708708
</div>
709709
<!-- Amit's btn-->
710710

711+
<!-- adilcodes-btn-1 start -->
712+
<div class="button-container">
713+
<!-- add your buttons here, eg.-->
714+
<button class="adilcodes-btn-1">Hover Me</button>
715+
<div class="createdby-section">
716+
Created by
717+
<a href="https://github.com/adilcodes">adilcodes</a>
718+
</div>
719+
</div>
720+
<!-- adilcodes-btn-1 end -->
721+
711722

712723

713724
</div>
@@ -763,4 +774,4 @@
763774

764775
</body>
765776

766-
</html>
777+
</html>

0 commit comments

Comments
 (0)