-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.css
More file actions
57 lines (48 loc) · 1019 Bytes
/
index.css
File metadata and controls
57 lines (48 loc) · 1019 Bytes
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
.footer {
background: var(--primary-color);
.wave {
transform: scale(-1);
}
&--socials {
display: flex;
align-items: center;
justify-content: center;
padding: 6rem 0;
a {
display: inline-block;
width: 3.2rem;
height: 3.2rem;
margin: 0 1rem;
transition: transform 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
cursor: pointer;
img {
width: 100%;
height: 100%;
}
&:hover {
perspective: 24rem;
transform: scale(1.1);
img {
animation: lollipop 1.6s linear infinite alternate both;
}
}
}
}
}
@keyframes lollipop {
0% {
transform: rotateX(0) rotateY(0) rotateZ(0);
}
25% {
transform: rotateX(15deg) rotateY(0) rotateZ(5deg);
}
50% {
transform: rotateX(-15deg) rotateY(15deg) rotateZ(-5deg);
}
75% {
transform: rotateX(15deg) rotateY(-15deg) rotateZ(-5deg);
}
100% {
transform: rotateX(0deg) rotateY(0deg) rotateZ(5deg);
}
}