-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (104 loc) · 2.33 KB
/
index.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
104
105
106
107
108
109
110
<!DOCTYPE html>
<style>
:root {
font-family: Arial, Helvetica, sans-serif;
color: #202020;
}
.center {
display: flex;
justify-content: space-evenly;
}
nav {
position: fixed;
top: 20px;
right: 20px;
display: flex;
}
footer {
position: fixed;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
bottom: 20px;
display: flex;
justify-content: center;
}
img {
position: relative;
top: 10vw;
width: 20%;
}
form {
position: relative;
top: 12vw;
}
#buttons {
position: relative;
top: 20px;
}
button {
margin: 0 10px;
padding: 10px;
background-color: #F8F9FA;
border: none;
}
#searchbar {
width: 300px;
border: 1px solid #555555;
border-radius: 10px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
li {
display: inline;
margin: 0px 5px;
}
a {
color: inherit;
text-decoration: inherit;
}
a:hover {
text-decoration: underline;
}
</style>
<html>
<head>
<title>Google</title>
</head>
<body>
<nav>
<ul>
<li><a href="#">Gmail</a></li>
<li><a href="#">Images</a></li>
<li><a href="#">GApps</a></li>
<li><a href="#">Profile</a></li>
</ul>
</nav>
<div class="center">
<img src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png" alt="Google Logo">
</div>
<form>
<label class="center">
<input id="searchbar" type="text">
</label>
<div class="center">
<div id="buttons">
<button>Google Search</button>
<button>I'm Feeling Lucky</button>
</div>
</div>
</form>
<footer>
<ul>
<li><a href="#">Advertising</a></li>
<li><a href="#">Business</a></li>
<li><a href="#">About</a></li>
<li><a href="#">How Search Works</a></li>
</ul>
</footer>
</body>
</html>