From 58fd6e292c01e0870065c0155c0f4a402bbfb77e Mon Sep 17 00:00:00 2001 From: Adil Sheikh Date: Sat, 25 Mar 2023 13:06:12 +0500 Subject: [PATCH] Added adilcodes 1st button --- buttons/buttons.css | 36 ++++++++++++++++++++++++++++++++++++ index.html | 25 ++++++++++++++++++------- 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/buttons/buttons.css b/buttons/buttons.css index d3dc362..34e4dc8 100644 --- a/buttons/buttons.css +++ b/buttons/buttons.css @@ -2703,3 +2703,39 @@ a:focus-visible { } } + +/* adilcodes-btn-1 start */ +.adilcodes-btn-1{ + border: 0; + cursor: pointer; + padding: 13px 32px; + font-size: 14px; + position: relative; + z-index:0; + transition: 0.3s ease 0.1s; + overflow: hidden; + background-color: #fff; + box-shadow: 0px 0px 5px 1px #00000011; +} +.adilcodes-btn-1::after{ + content: ""; + position: absolute; + top: 0; + left: 0; + width: 0%; + height: 100%; + background-color: rgb(252, 40, 71); + transition: 0.5s ease; + z-index: -1; + scale: 0.6; +} +.adilcodes-btn-1:hover::after{ + width: 100%; + scale: 1.21; + /* rotate: 180deg; */ + transform: rotateX(180deg) rotateZ(45deg); +} +.adilcodes-btn-1:hover{ + color: #fff; +} +/* adilcodes-btn-1 end */ \ No newline at end of file diff --git a/index.html b/index.html index 908f416..0e19ad3 100644 --- a/index.html +++ b/index.html @@ -633,10 +633,10 @@
+ + + + Hover Me
Created by gauravsharmatheofficial @@ -666,8 +666,8 @@
- - + +
Hover me @@ -708,6 +708,17 @@
+ +
+ + +
+ Created by + adilcodes +
+
+ +
@@ -763,4 +774,4 @@ - + \ No newline at end of file