-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgridIndex.css
More file actions
74 lines (60 loc) · 1.14 KB
/
gridIndex.css
File metadata and controls
74 lines (60 loc) · 1.14 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
/*Especificidad 001*/
body{
display: grid;
gap: 5px;
grid-template-columns: auto 300px;
grid-template-rows: 150px auto auto 40px;
grid-template-areas:
"header header"
"section1 aside"
"section2 aside"
"footer footer";
}
/*Especificidad 001*/
header{
grid-area: header;
text-align: center;
}
/*Especificidad 002*/
header>nav{
display: grid;
grid-template-areas:
"enlace1 enlace2 enlace3";
}
/*Especificidad 001*/
nav>*{
box-shadow: -1px 1px 7px 0px rgba(0,0,0,0.75);
}
/*Especificidad 011*/
nav:nth-child(1){
grid-area: enlace1;
}
/*Especificidad 011*/
nav:nth-child(2){
grid-area: enlace2;
}
/*Especificidad 011*/
nav:nth-child(3){
grid-area: enlace3;
}
/*Especificidad 011*/
section:first-of-type{
grid-area: section1;
}
/*Especificidad 002*/
section>h2{
text-align: center;
}
/*Especificidad 011*/
section:last-of-type{
grid-area: section2;
text-align: center;
}
/*Especificidad 001*/
aside{
grid-area: aside;
}
/*Especificidad 001*/
footer{
grid-area: footer;
}