-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday9.html
More file actions
87 lines (84 loc) · 2.35 KB
/
Copy pathday9.html
File metadata and controls
87 lines (84 loc) · 2.35 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
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
<style>
#a{grid-area: a1;}
#b{grid-area: b2;
background-image: url("image.jpg");
}
#c{grid-area: c3;
background-color: darkmagenta;
}
#d{grid-area: d4;
background-color: darkslategray;
}
#e{grid-area: e5;
background-color: darkgrey;
}
#maindiv{
/*display:grid;
grid-template-areas: 'a1 a1 a1 a1 a1 a1'
'b2 b2 b2 c3 c3 c3'
'd4 d4 d4 e5 e5 e5';*/
display:flex ;
flex-direction: row;
background-color: darkseagreen;
padding: 20px;
margin: 20px;
border-radius: 20px;
font-family: 'Times New Roman', Times, serif;
text-align: center;
}
div{
background-color: darkolivegreen;
font-size: 77px;
color: rgb(233, 245, 233);
padding: 20px;
margin: 20px;
border-radius: 20px;
}
#header{
top: 0px;
left: 0px;
position: fixed;
width: 100%;
background-color: darkgoldenrod;
text-align: center;
text-decoration:underline ;
text-decoration-color: blanchedalmond;
font-size: 55px;
font-family: cursive;
}
body{
padding-top: 100px;
}
#footer{
bottom: 0px;
left: 0px;
position: fixed;
width: 100%;
background-color: rgb(162, 19, 219);
text-align: center;
height:30px;
position:fixed;
text-decoration:underline ;
text-decoration-color: blanchedalmond;
font-size: 20px;
font-family: cursive;
}
</style>
</head>
<body>
<!-- grid box=> combinations of rows and columns -->
<div id="maindiv">
<div id="a">Content</div>
<div id="b">Images</div>
<div id="c">Audio</div>
<div id="d">Video</div>
<div id="e">Status</div>
</div>
<h1 id="header">WELCOME TO MY PAGE</h1>
<h4 id="footer">Thank you</h4>
</body>
</html>