forked from viztech/Assignment-2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathA2_new.css
More file actions
55 lines (48 loc) · 659 Bytes
/
Copy pathA2_new.css
File metadata and controls
55 lines (48 loc) · 659 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
/* Global override */
html,body,h1,h2,h3,h4,p,div,a,ul,li,span{
margin:0;
padding:0;
list-style: none;
}
html,body{
height:100%;
position:relative;
}
#red{
background-color: red;
height:50px;
position:absolute;
top: 0;
width: 100%;
}
#yellow{
background-color: yellow;
height: 100%;
width: 33.33%;
float:left;
}
#green{
background-color: green;
height: 100%;
width: 33.33%;
float:left;
}
#blue{
background-color: blue;
height: 100%;
width: 33.33%;
float:left;
}
#purple{
background-color: purple;
height: 50px;
position:absolute;
bottom:0;
width:100%;
}
.parent{
position:absolute;
top: 50px;
bottom: 50px;
width:100%;
}