-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
49 lines (44 loc) · 820 Bytes
/
style.css
File metadata and controls
49 lines (44 loc) · 820 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
*, *::before, *::after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: #000;
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
}
.grid {
width: 300px;
height: 300px;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(3, 1fr);
gap: 10px;
}
.grid button {
border: none;
border-radius: 10px;
background: #333;
position: relative;
cursor: pointer;
color: #666;
font-size: 40px;
}
.grid button::before {
content: '';
position: absolute;
top: 5px;
left: 5px;
bottom: 5px;
right: 5px;
border: 1px solid rgba(255,255,255,.4);
border-radius: 5px;
}
.grid button.active {
background: coral;
color: #fff;
}