forked from Code4Community/git-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
37 lines (32 loc) · 626 Bytes
/
main.css
File metadata and controls
37 lines (32 loc) · 626 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
body {
display: flex;
align-content: stretch;
}
#heads-area {
margin: 75px;
flex-grow: 1;
}
.person-frame-inner {
display: inline-block;
position: absolute;
animation: animate 10s linear 0s infinite alternate, animate2 9s linear 0s infinite;
}
.person-frame-inner p {
text-align: center;
}
.ball {
height: 150px;
width: 150px;
border-radius: 150px;
object-fit: cover;
}
@keyframes animate {
0% { left: calc(100% - 150px)}
100% { left: 0; }
}
@keyframes animate2 {
0% { top: 25%}
37.5% { top: calc(100% - 150px) }
87.5% { top: 0% }
100% { top: 25%}
}