-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (51 loc) · 956 Bytes
/
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
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
box-sizing:border-box;
}
body{
margin:0;
font-family:'Roboto', Arial;
}
.container{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
height:100vh;
width:100%;
text-align:center;
overflow:hidden;
}
.playground{
display:grid;
grid-template-columns:100px 100px 100px;
justify-content:center;
align-items:center;
align-content:center;
width:350px;
height:350px;
margin:0 auto;
}
.box{
border:2px solid #000;
width:100px;
height:100px;
cursor:pointer;
display:flex;
justify-content:center;
align-items:center;
font-size:76px;
font-weight:600;
}
.box:first-child, .box:nth-child(2),.box:nth-child(3){
border-top:none;
}
.box:nth-child(3n + 1){
border-left:none;
}
.box:nth-child(3n + 3){
border-right:none;
}
.box:last-child, .box:nth-child(8),.box:nth-child(7){
border-bottom:none;
}