-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
59 lines (46 loc) · 690 Bytes
/
Copy pathstyle.css
File metadata and controls
59 lines (46 loc) · 690 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
body {
font-family: sans-serif;
}
.grid-container {
display: grid;
gap: 1em;
grid-template-areas:
"uno"
"due"
"tre"
"quattro"
"cinque"
"sei";
}
.elemento {
background-color: green;
padding: 1em;
box-shadow: 1px 1px 5px black;
text-align: center;
}
.elemento:nth-child(1){
grid-area: uno;
}
.elemento:nth-child(2){
grid-area: due;
}
.elemento:nth-child(3){
grid-area: tre;
}
.elemento:nth-child(4){
grid-area: quattro;
}
.elemento:nth-child(5){
grid-area: cinque;
}
.elemento:nth-child(6){
grid-area: sei;
}
@media (min-width: 1440px) {
.grid-container {
grid-template-areas:
"uno uno due tre"
"quattro cinque cinque tre"
"sei sei . tre";
}
}