-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
42 lines (36 loc) · 689 Bytes
/
index.css
File metadata and controls
42 lines (36 loc) · 689 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
.flex-container {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
width: 500px;
height: 200px;
background: #ccc;
}
.flex-container div {
display: flex;
min-height: 50px;
background: #fff;
}
div.group {
position: absolute;
top: 10%;
left: 10%;
height: 20px;
width: 20px;
background: blue;
-webkit-animation: lengthGroup 3s ease-in .5s 1 alternate forwards;
}
.stop {
-webkit-animation-play-state: paused !important;
animation-play-state: paused !important;
}
@keyframes lengthGroup {
0% {
top: 10%;
left: 10%;
}
100% {
top: 30%;
left: 80%;
}
}