-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (60 loc) · 1.11 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;900&display=swap');
*{
box-sizing: border-box;
}
body{
margin: 0px;
padding: 0px;
}
a{
color: black;
}
a:hover{
color: #8332AB;
}
.wrapper{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.btn{
width: 280px;
height: 60px;
border: 3px solid #8332AB;
border-radius: 30px;
display: flex;
justify-content: space-evenly;
align-items: center;
position: relative;
color: black;
cursor: pointer;
overflow: hidden;
font-size: 24px;
transition: all 0.5s ease;
}
.btn:before{
content: "FOLLOW US";
font-family: "Poppins", sans-serif;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 16px;
letter-spacing: 1px;
width: 100%;
height: 100%;
border-radius: 30px;
display: flex;
justify-content: center;
align-items: center;
background: #8332AB;
transition: all 0.5s ease;
}
.btn:hover{
background: #FFF
}
.btn:hover:before{
top: -50%;
}