Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (102 loc) · 2.08 KB
/
Copy pathindex.html
File metadata and controls
112 lines (102 loc) · 2.08 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Web_Learn</title>
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
</style>
<meta name="author" content="swaroop2005">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico">
</head>
<body>
<header>
<h1>WebLear<u>n</u></h1>
<ul class="header-web">
<li>HOME</li>
<li>ABOUT</li>
<li>SIGN UP</li>
<li>COURSE</li>
</ul>
</header>
<main>
<img src="https://cdn-images-1.medium.com/max/1600/1*W9aX7GRvChI9dQajLwjrqg.png" height="300px" width="300px" alt="html5" class="img1">
</main>
<footer>
<ul class="footer">
<li>home</li>
<li>about</li>
<li>contact</li>
</ul>
<p>WebLear<u>n</u> ©</p>
</footer>
</body>
<style type="text/css">
body{
margin:0;
padding:0;
background-color:lightblue;
}
header{
height:100px;
max-width:100%;
background-color:darkcyan;
}
.header-web li{
display:inline;
padding:10px;
color:#fff;
font-family:sans-serif;
font-size:12px;
font-weight:bold;
font-family: 'Montserrat', sans-serif;
}
h1{
text-align:center;
font-size:40px;
color:#00b7ff;
font-family: 'Montserrat', sans-serif;
}
main{
height:450px;
max-width:100%;
background-color:lightblue
}
footer{
height:100px;
max-width:100%;
background-color:rgba(0,0,0,0.6);
}
.footer{
display:inline;
}
.footer li{
font-family: 'Montserrat', sans-serif;
font-size:12px;
font-weight:bold;
opacity:0.7;
display:inline;
margin:20px;
padding:2px;
}
p{
text-align:center;
color:#00b7ff;
font-family: 'Montserrat', sans-serif;
}
li:hover{
background-color:#fcaea2;
cursor:pointer;
color:#b5ffff;
}
.img1{
position:absolute;
top:180px;
left:30px;
opacity:1;
}
.img1:hover{
opacity:1;
box-shadow:10px 5px 10px #555;
}
</html>