-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (66 loc) · 1.08 KB
/
style.css
File metadata and controls
75 lines (66 loc) · 1.08 KB
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
*,
* ::before,
* ::after {
box-sizing: border-box;
margin:0;
padding:0;
}
body {
background-color:rgb(182, 190, 241);
display: flex;
flex-wrap:wrap;
}
header {
display: flex;
justify-content: center;
text-align: center;
width: 100%;
padding-top: 40px;
}
main {
margin: 4rem;
}
h2 {
display:flex;
justify-content: center;
margin-bottom: 20px;
}
section {
display: flex;
justify-content: space-between;
}
.box {
width: 100px;
height: 100px;
display:grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: repeat(3,1fr);
background-color: whitesmoke;
border: 2px solid black;
border-radius: 8px;
padding: 5px;
margin: 8px;
}
.dot {
background-color: black;
border-radius: 50%;
margin: 4px;
}
.top {
grid-column-start: 1;
}
.middle {
grid-column-start: 2;
}
.bottom {
grid-column-start: 3;
}
.left {
grid-row-start: 1;
}
.center {
grid-row-start: 2;
}
.right {
grid-row-start: 3;
}