1
+ body {
2
+ background-color : blue;
3
+ }
4
+ div {
5
+ position : absolute;
6
+ }
7
+ .first {
8
+ background-color : blue;
9
+ z-index : 3 ;
10
+ animation-name : cantordust1;
11
+ animation-duration : 5s ;
12
+ animation-timing-function : linear;
13
+ animation-iteration-count : infinite;
14
+ }
15
+ # horizontal1 {
16
+ width : 100% ;
17
+ height : calc (100% / 3 );
18
+ left : 0 ;
19
+ bottom : calc (100% / 3 );
20
+ }
21
+ # vertical1 {
22
+ width : calc (100% / 3 );
23
+ height : 100% ;
24
+ left : calc (100% / 3 );
25
+ bottom : 0 ;
26
+ }
27
+ .second {
28
+ background-color : blue;
29
+ z-index : 2 ;
30
+ animation-name : cantordust2;
31
+ animation-duration : 5s ;
32
+ animation-timing-function : linear;
33
+ animation-iteration-count : infinite;
34
+ }
35
+ # horizontal2 {
36
+ width : 100% ;
37
+ height : calc (100% / 9 );
38
+ left : 0 ;
39
+ bottom : calc (100% / 9 );
40
+ }
41
+ # vertical2 {
42
+ width : calc (100% / 9 );
43
+ height : 100% ;
44
+ left : calc (100% / 9 );
45
+ bottom : 0 ;
46
+ }
47
+ # horizontal3 {
48
+ width : 100% ;
49
+ height : calc (100% / 9 );
50
+ left : 0 ;
51
+ bottom : calc (700% / 9 );
52
+ }
53
+ # vertical3 {
54
+ width : calc (100% / 9 );
55
+ height : 100% ;
56
+ left : calc (700% / 9 );
57
+ bottom : 0 ;
58
+ }
59
+ .third {
60
+ background-color : blue;
61
+ z-index : 1 ;
62
+ animation-name : cantordust3;
63
+ animation-duration : 5s ;
64
+ animation-timing-function : linear;
65
+ animation-iteration-count : infinite;
66
+ }
67
+ # horizontal4 {
68
+ width : 100% ;
69
+ height : calc (100% / 27 );
70
+ left : 0 ;
71
+ bottom : calc (100% / 27 );
72
+ }
73
+ # vertical4 {
74
+ width : calc (100% / 27 );
75
+ height : 100% ;
76
+ left : calc (100% / 27 );
77
+ bottom : 0 ;
78
+ }
79
+ # horizontal5 {
80
+ width : 100% ;
81
+ height : calc (100% / 27 );
82
+ left : 0 ;
83
+ bottom : calc (700% / 27 );
84
+ }
85
+ # vertical5 {
86
+ width : calc (100% / 27 );
87
+ height : 100% ;
88
+ left : calc (700% / 27 );
89
+ bottom : 0 ;
90
+ }
91
+ # horizontal6 {
92
+ width : 100% ;
93
+ height : calc (100% / 27 );
94
+ left : 0 ;
95
+ bottom : calc (1900% / 27 );
96
+ }
97
+ # vertical6 {
98
+ width : calc (100% / 27 );
99
+ height : 100% ;
100
+ left : calc (1900% / 27 );
101
+ bottom : 0 ;
102
+ }
103
+ # horizontal7 {
104
+ width : 100% ;
105
+ height : calc (100% / 27 );
106
+ left : 0 ;
107
+ bottom : calc (2500% / 27 );
108
+ }
109
+ # vertical7 {
110
+ width : calc (100% / 27 );
111
+ height : 100% ;
112
+ left : calc (2500% / 27 );
113
+ bottom : 0 ;
114
+ }
115
+ @keyframes cantordust1 {
116
+ 0% {background-color : blue;}
117
+ 25% {background-color : white;}
118
+ 50% {background-color : white;}
119
+ 75% {background-color : white;}
120
+ 100% {background-color : white;}
121
+ }
122
+ @keyframes cantordust2 {
123
+ 0% {background-color : blue;}
124
+ 25% {background-color : blue;}
125
+ 50% {background-color : white;}
126
+ 75% {background-color : white;}
127
+ 100% {background-color : white;}
128
+ }
129
+ @keyframes cantordust3 {
130
+ 0% {background-color : blue;}
131
+ 25% {background-color : blue;}
132
+ 50% {background-color : blue;}
133
+ 75% {background-color : white;}
134
+ 100% {background-color : white;}
135
+ }
0 commit comments