-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout3.css
More file actions
83 lines (82 loc) · 1.78 KB
/
layout3.css
File metadata and controls
83 lines (82 loc) · 1.78 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
76
77
78
79
80
81
82
83
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
.grid-container{
width: 80%;
background-color: white;
/* display: grid; */
margin: auto;
grid-template-areas:
'logo logo logo logo logo logo'
'Navigation Navigation Navigation Navigation Navigation Navigation '
'header header header header header header'
'sidebar sidebar Bodyarea Bodyarea Bodyarea Bodyarea'
'footer footer footer footer footer footer';
/* grid-gap: 10px; */
}
#grid-logo{
width: 100%;
background-color: lightgray;
grid-area: logo;
padding-left: 2%;
min-height: 50px;
line-height: 50px;
margin-bottom: 10px;
}
#grid-navigation{
grid-area: Navigation;
background-color: lightgray;
width: 100%;
min-height: 30px;
text-align: center;
line-height: 50px;
margin-bottom: 10px;
}
#grid-header{
grid-area: header;
background-color: lightgray;
width: 100%;
min-height: 100px;
text-align: center;
line-height: 100px;
margin-bottom: 10px;
}
#grid-main{
width: 100%;
background-color: white;
margin-bottom: 10px;
}
#grid-sidebar{
grid-area: sidebar;
width: 20%;
min-height: 400px;
text-align: center;
line-height: 400px;
background-color: lightgray;
float: left;
}
#grid-bodyarea{
grid-area: Bodyarea;
width: 75%;
min-height: 400px;
text-align: center;
line-height: 400px;
background-color: lightgray;
float: right;
}
#grid-footer{
grid-area: footer;
width: 100%;
min-height: 100px;
background-color: lightgray;
text-align: center;
line-height: 100px;
margin-top: 10px;
}
.clearfix::after{
content: '';
display: block;
clear: both;
}