-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask-2.css
More file actions
77 lines (68 loc) · 1.36 KB
/
task-2.css
File metadata and controls
77 lines (68 loc) · 1.36 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
.left-side {
width: 30%
}
.right-side {
flex-grow:1
}
#image {
width: 60px;
height: 40px;
background-image: url("https://www.nginx.com/wp-content/uploads/2021/08/NGINX-Part-of-F5-horiz-black-type-1.svg");
background-repeat: no-repeat;
transform: translate(10px,50px);
}
.animate-image {
animation: move-2 3000ms forwards ease-in-out;
}
#host {
position: absolute;
width: 320px;
height: 220px;
border: 1px solid grey;
transform: translate(150px, 150px)
}
#registry {
position: absolute;
width: 250px;
height: 120px;
border: 1px solid grey;
transform: translate(550px, 50px)
}
#images {
width: 100px;
height: 120px;
border: 1px solid grey;
transform: translate(200px, 90px)
}
#containers {
position: absolute;
width: 100px;
height: 120px;
border: 1px solid grey;
transform: translate(10px, 90px)
}
.label {
position: absolute;
border: 1px solid grey;
border-radius: 5px;
background-color: white;
padding: 2px;
top:-10px;
left:-2px;
}
@keyframes move-2 {
0% {
transform: translate(10px,50px);
border: none;
}
50% {
transform: translate(-170px,50px);
}
75% {
border: 2px solid greenyellow;
}
100% {
transform: translate(-170px,50px);
border: 2px solid greenyellow;
}
}