-
Notifications
You must be signed in to change notification settings - Fork 0
/
estilo.css
45 lines (41 loc) · 791 Bytes
/
estilo.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
body{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: 'Muli', sans-serif;;
font-size: 24px;
background-image:
linear-gradient(
to top right,
blueviolet,
darkmagenta
);
}
.btn{
padding: 2rem 4rem;
color: #ffffff;
font-weight: 500;
text-decoration: none;
background-color: tomato;
position: relative;
transition: all 0.5s;
}
.btn::before{
content: "";
position: absolute;
bottom: -1rem;
height: 4.5rem;
width: 100%;
left: 1rem;
background-color: red;
z-index: -1;
transition: all 0.5s;
}
.btn:active{
margin: 0.75rem 0rem 0rem 0.75rem;
}
.btn:active::before{
bottom: 0.1rem;
left: -0.1rem;
}