-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome1.html
103 lines (90 loc) · 2.14 KB
/
home1.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>home</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-image: url(poi.jpg);
background-size: cover;
}
/* Style the header */
.trending {
background-color: transparent;
padding: 30px;
text-align: center;
font-size: 35px;
}
/* Create three equal columns that floats next to each other */
.column1 {
float: left;
width: 33.33%;
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
background-image: url(0.jpg);
background-size: cover;
border: solid white 10px;
}
.column2{
float: left;
width: 33.33%;
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
background-image: url(09.jpg);
background-size: cover;
border: solid white 10px;
}
.column3 {
float: left;
width: 33.33%;
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
background-image: url(blog.jpg);
background-size: cover;
border: solid white 10px;
}
/* Clear floats after the columns */
/* Style the footer */
.footer {
background-color: transparent;
padding: 10px;
text-align: center;
}
/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
.column {
width: 100%;
}
}
a:link {
color: white;
background-color: transparent;
text-decoration: none;
}
a:visited{
color:white;
background-color:transparent;
text-decoration:none;
}
</style>
</head>
<body>
<div class="trending">
<h2 style="text">#TRENDING</h2>
</div>
<div class="row">
<div class="column1" style="background-color:#ccc; color: white;"><a href="q.html">QUESTIONS</a>
</div>
<div class="column2" style="background-color:#bbb;"><a href="d.html">DEBATES</a></div>
<div class="column3" style="background-color:#ccc;"><a href="b.html">BLOGS</a></div>
</div>
<div class="footer">
<p>Footer</p>
</div>
</body>
</html>