-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhi.css
More file actions
47 lines (42 loc) · 783 Bytes
/
hi.css
File metadata and controls
47 lines (42 loc) · 783 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
/* General reset for the body */
body {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
background-color: #70d7db;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.menu {
background: #333;
width: 100%;
text-align: center;
}
.menu ul {
list-style: none;
padding: 0;
margin: 0;
}
.menu ul li {
display: inline-block;
margin: 0 20px;
}
.menu ul li h1 {
margin: 0;
padding: 20px 0;
}
.menu ul li a {
text-decoration: none;
color: #fff;
font-size: 24px;
padding: 10px 20px;
display: inline-block;
transition: background-color 0.3s, color 0.3s;
}
.menu ul li a:hover {
background-color: #555;
color: #fff;
border-radius: 5px;
}