-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
56 lines (48 loc) · 893 Bytes
/
styles.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
.element {
display: inline-block;
background-color: #0074d9;
height: 100px;
width: 100px;
font-size: 1px;
padding: 1px;
color: white;
margin-right: 5px;
margin-left: 5px;
animation: skew 3s infinite;
transform: skew(20deg);
animation-direction: alternate;
opacity: .7;
}
@keyframes skew {
0% {
transform: skewX(20deg);
}
100% {
transform: skewX(-20deg);
}
}
body, html {
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
.btn {
position: absolute;
bottom: 30%;
border: none;
background-color: #0074d9;
width: 90px;
padding: .5rem;
border-radius: 30px;
}
a {
text-decoration: none;
color: white;
font-size: 20px;
}
.btn:hover {
transform: scale(2, 1.5)
}