first commit
This commit is contained in:
commit
fc14e0f1fb
|
|
@ -0,0 +1,56 @@
|
|||
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
|
||||
|
||||
|
||||
.btn{
|
||||
margin: 10px;
|
||||
padding: 20px 70px;
|
||||
position: relative;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
cursor: pointer;
|
||||
background: #000;
|
||||
z-index: 0;
|
||||
transition: 0.5s;
|
||||
|
||||
}
|
||||
.btn_1{
|
||||
border: 2px solid #19e019 !important;
|
||||
color:#19e019 !important;
|
||||
box-shadow: 0 0 20px 0 #19e019 !important;
|
||||
}
|
||||
.btn_1::before{
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
left: -5px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
transition: 0.5s;
|
||||
background: #000;
|
||||
z-index: -1;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.btn_1::after{
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: -5px;
|
||||
right: -5px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
transition: 0.5s;
|
||||
background: #000;
|
||||
z-index: -1;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.btn_1::before{
|
||||
left: calc(100% - 5px);
|
||||
}
|
||||
.btn_1:hover::after{
|
||||
right: calc(100% - 5px);
|
||||
}
|
||||
.btn_1:hover{
|
||||
|
||||
color: #000 !important;
|
||||
}
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="button">
|
||||
<button class="btn_1">Click Me</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue