Skip to content

Commit fbc87cc

Browse files
Merge pull request #39 from ImOnlyYisus/main
feat(button): added new button
2 parents 685b25b + 7a5fe63 commit fbc87cc

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

buttons/buttons.css

+52
Original file line numberDiff line numberDiff line change
@@ -872,3 +872,55 @@ a:focus-visible {
872872

873873
/* CSS FOR BUTTON 9 ENDS */
874874

875+
/* ImOnlyYisus Btn CSS*/
876+
.ImOnlyYisusContainer{
877+
position: relative;
878+
}
879+
880+
.ImOnlyYisus-btn{
881+
padding: 6px;
882+
padding-bottom: .5em ;
883+
padding-top: .5em ;
884+
font-size: 20px;
885+
text-transform: uppercase;
886+
color:#fff;
887+
border:none;
888+
background-color: transparent;
889+
transition: .3s;
890+
}
891+
892+
.ImOnlyYisus-btn::after{
893+
content: "";
894+
background-color: white;
895+
position: absolute;
896+
bottom: 0;
897+
left: 0;
898+
width: 10%;
899+
height: 5%;
900+
transition: .3s;
901+
}
902+
903+
.ImOnlyYisus-btn::before{
904+
content: "";
905+
background-color: white;
906+
position: absolute;
907+
top: 0;
908+
right: 0;
909+
width: 10%;
910+
height: 5%;
911+
transition: .3s;
912+
}
913+
914+
.ImOnlyYisus-btn:hover{
915+
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;;
916+
}
917+
918+
.ImOnlyYisus-btn:hover::after{
919+
width: 100%;
920+
}
921+
922+
.ImOnlyYisus-btn:hover::before{
923+
width: 100%;
924+
}
925+
/*ImOnlyYisus Btn CSS ENDS*/
926+

index.html

+8
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,14 @@
260260

261261
</div>
262262
<!--END-->
263+
264+
<!-- ImOnlyYisus btn start here -->
265+
<div class="button-container">
266+
<div class="ImOnlyYisusContainer">
267+
<button type="button" class="ImOnlyYisus-btn">Button</button>
268+
</div>
269+
</div>
270+
<!-- ImOnlyYisus btn end -->
263271
</div>
264272
</main>
265273
<footer>

0 commit comments

Comments
 (0)