-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
73 lines (65 loc) · 968 Bytes
/
styles.css
File metadata and controls
73 lines (65 loc) · 968 Bytes
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
body {
margin: 0;
background: grey;
height: 100vh;
overflow: hidden;
}
.container {
width: 100vw;
height: 100vw;
max-width: 100vh;
max-height: 100vh;
margin: auto;
position: relative;
border-radius: 50%;
overflow: hidden;
transform: rotate(45deg);
}
#center {
width: 50%;
height: 50%;
position: absolute;
background: black;
left: 25%;
top: 25%;
border-radius: 50%;
}
.button {
width: 50%;
height: 50%;
position: absolute;
opacity: 0.5;
border: 10px black solid;
box-sizing: border-box;
}
.button.active {
opacity: 1;
}
#red {
border-left: none;
border-top: none;
left: 0;
top: 0;
background: red;
}
#green {
border-top: none;
border-right: none;
right: 0;
top: 0;
background: green;
}
#blue {
border-left: none;
border-bottom: none;
left: 0;
bottom: 0;
background: blue;
}
#yellow {
border-right: none;
border-bottom: none;
right: 0;
bottom: 0;
background: yellow;
}