-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGrid.css
More file actions
51 lines (36 loc) · 878 Bytes
/
Grid.css
File metadata and controls
51 lines (36 loc) · 878 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
.container { display: grid;
grid-template-columns: 1fr 1.4fr 1.3fr;
grid-template-rows: 1fr 1fr 1fr;
gap: 0px 0px;
grid-auto-flow: row;
grid-template-areas:
"logo Link advs"
"side cont advs"
"foot foot foot";
}
.logo { grid-area: logo; }
.foot { grid-area: foot; }
.side { grid-area: side; }
.Link { grid-area: Link; }
.cont { grid-area: cont; }
.advs { grid-area: advs; }
html, body , .container {
height: 100%;
margin: 0;
}
/* For presentation only, no need to copy the code below */
.container * {
border: 1px solid red;
position: relative;
}
.container *:after {
content:attr(class);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: grid;
align-items: center;
justify-content: center;
}