-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfriends.css
More file actions
80 lines (68 loc) · 1.27 KB
/
friends.css
File metadata and controls
80 lines (68 loc) · 1.27 KB
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
70
71
72
73
74
75
76
77
78
79
80
body {
background: linear-gradient(90deg, rgba(183,230,201,1) 0%, rgba(155,208,236,0.5913173652694611) 100%);
margin: 64px;
}
.friend-one, .friend-two, .star, .normie {
width: 200px;
height: 200px;
animation-iteration-count: infinite;
}
.friend-one {
background-image: url("friend-one.jpg");
background-size: cover;
border-radius: 100%;
animation-name: spin-dog;
animation-duration: 2s;
}
@keyframes spin-dog {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.friend-two {
background-image: url("friend-two.jpg");
background-size: cover;
transform: rotate(-45deg);
animation-name: bounce-twist;
animation-duration: 3s;
}
@keyframes bounce-twist {
from {
transform: scale(0.9) rotate(-30deg);
}
50% {
transform: scale(1.1) rotate(-15deg);
}
to {
transform: scale(0.9) rotate(-30deg);
}
}
.star {
fill: cyan;
animation-name: bisexual-lighting;
animation-duration: 10s;
}
@keyframes bisexual-lighting {
from {
fill: cyan;
}
50% {
fill: magenta;
}
to {
fill: cyan;
}
}
.normie {
color: white;
font-weight: bold;
font-size: 24px;
font-family: sans-serif;
background-color: gray;
border: 6px solid white;
border-radius: 8px;
box-shadow: 4px 4px 12px gray;
}