-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (110 loc) · 2.29 KB
/
style.css
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body {
width: 100%;
height: 100vh;
margin: 0;
padding: 0;
}
h1 {
width: 100%;
height: 100vh;
line-height: 80vh;
text-align: center;
display: block;
font-size: 60px;
}
.view {
width: 100%;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.block {
height: 200px;
width: 300px;
margin: 50px;
border: 0.5mm solid black;
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.block:nth-child(1) {
background: rgb(232, 88, 67);
}
.block:nth-child(2) {
background: rgb(26, 84, 207);
}
.block:nth-child(3) {
background: rgb(36, 217, 127);
}
.block:nth-child(4) {
background: rgb(157, 86, 247);
width: 700px;
}
.block:nth-child(5) {
background: rgb(250, 201, 82);
}
.block:nth-child(6) {
background: rgb(26, 84, 207);
}
.block:nth-child(7) {
background: rgb(157, 86, 247);
}
.block:nth-child(8) {
background: rgb(36, 217, 127);
width: 700px;
}
.block:nth-child(9) {
background: rgb(232, 88, 67);
}
.block:nth-child(10) {
background: rgb(250, 201, 82);
width: 700px;
}
.block:nth-child(11) {
background: rgb(26, 84, 207);
}
.block:nth-child(12) {
background: rgb(36, 217, 127);
}
.block:nth-child(13) {
background: rgb(157, 86, 247);
}
.block:nth-child(14) {
background: rgb(250, 201, 82);
}
.block:nth-child(15) {
background: rgb(232, 88, 67);
}
.block:nth-child(16) {
background: rgb(36, 217, 127);
width: 700px;
}
.block:nth-child(17) {
background: rgb(157, 86, 247);
}
.block:nth-child(18) {
background: rgb(26, 84, 207);
}
.block:nth-child(19) {
background: rgb(250, 201, 82);
}
.block:nth-child(20) {
background: rgb(232, 88, 67);
width: 700px;
}
@keyframes appear {
from {
opacity: 0;
clip-path: inset(100% 100% 0 0);
}
to {
opacity: 1;
clip-path: inset(0 0 0 0);
}
}
.block {
animation: appear linear;
animation-timeline: view();
animation-range: entry 0% cover 40%;
outline: black 2mm;
}