-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.css
More file actions
32 lines (26 loc) · 698 Bytes
/
menu.css
File metadata and controls
32 lines (26 loc) · 698 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
.menu {
width: 150px;
background-color: #e6e6e6;
float: left;
}
.menu ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.menu ul li {
float: left; /* This makes each list item float to the left */
margin-right: 20px; /* Adds some space between the menu items */
}
.menu ul li a {
display: block; /* Makes the entire area of the list item clickable */
padding: 10px; /* Adds some padding for better appearance */
text-decoration: none; /* Removes the underline from the links */
color: #315eff; /* Set link color */
}
/* Clearfix to contain the floated elements */
.menu ul:after {
content: "";
display: table;
clear: both;
}