-
Notifications
You must be signed in to change notification settings - Fork 0
/
fractal_clean.css
72 lines (64 loc) · 1.2 KB
/
fractal_clean.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
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background-color: black;
}
canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
justify-content: center;
align-items: center;
}
.circle {
width: 42px;
height: 42px;
border-radius: 50%;
border: 2px solid white;
background-color: black;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.emoji {
position: absolute;
font-size: 24px;
color: white;
transform: rotate(90deg);
}
.emoji:nth-child(1) {
top: 50%;
left: 50%;
transform: translate(50%, -50%) rotate(90deg);
}
.emoji:nth-child(2) {
right: 0;
top: 50%;
transform: translate(50%, -50%) rotate(180deg);
}
.emoji:nth-child(3) {
bottom: 0;
left: 50%;
transform: translate(-50%, 50%) rotate(270deg);
}
.emoji:nth-child(4) {
left: 0;
top: 50%;
transform: translate(-50%, -50%) rotate(0deg);
}