-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodess
More file actions
59 lines (44 loc) · 1.37 KB
/
codess
File metadata and controls
59 lines (44 loc) · 1.37 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
<div id="mySidenav" class="sidenav menu">
<a href="#" id="home">HOME</a>
<a href="#" id="activities">ACTIVITIES</a>
<a href="#" id="blog">BLOG</a>
<a href="#" id="council">COUNCIL</a>
<a href="#" id="files">FILES</a>
</div>
/* Style the links inside the sidenav */
#mySidenav a {
position: absolute; /* Position them relative to the browser window */
left: -20px; /* Position them outside of the screen */
transition: 0.3s; /* Add transition on hover */
padding: 10px; /* 15px padding */
width: 100px; /* Set a specific width */
text-decoration: none; /* Remove underline */
font-size: 20px; /* Increase font size */
color: white; /* White text color */
border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
text-align: center;
}
#mySidenav a:hover {
left: 0; /* On mouse-over, make the elements appear as they should */
}
/* The about link: 20px from the top with a green background */
#home {
top: 20px;
background-color: #4CAF50;
}
#activities {
top: 80px;
background-color: #2196F3 /* Blue */
}
#blog {
top: 140px;
background-color: #f44336 /* Red */
}
#council {
top: 200px;
background-color: #555 /* Light Black */
}
#files{
top:260px;
background-color: violet;
}