-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (82 loc) · 1.26 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
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
.options {
background: #ddf;
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 100%;
}
.options h1 {
font-size: 1.2rem;
margin: 0;
display: block;
width: 100%;
text-align: center;
text-decoration: underline;
}
.options label {
padding: 1em;
}
main {
background: #ffd;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 70vmin;
height: 70vmin;
}
.target {
display: flex;
justify-content: center;
align-items: center;
border-radius: 100%;
position: relative;
}
.target.flash::after {
content: '';
width: 100%;
height: 100%;
border-radius: 100%;
position: absolute;
top: 0;
left: 0;
background: none;
animation-name: flash;
animation-duration: 0.1s;
animation-iteration-count: 3;
}
@keyframes flash {
from { background: none; }
to { background: yellow; }
}
.outer {
background: #800;
width: 100%;
height: 100%;
z-index: 10;
}
.middle {
background: #080;
width: 70%;
height: 70%;
z-index: 20;
}
.inner {
background: #008;
width: 40%;
height: 40%;
z-index: 30;
}