Adding styles to menu
This commit is contained in:
parent
108ab50b1c
commit
5e6eecc3a6
28
menu.html
28
menu.html
|
@ -1,3 +1,31 @@
|
||||||
|
<!-- Other existing styles, meta tags, and scripts -->
|
||||||
|
<style>
|
||||||
|
/* Paste the CSS styles for the menu here */
|
||||||
|
ul {
|
||||||
|
list-style-type: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
overflow: hidden;
|
||||||
|
background-color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
li a {
|
||||||
|
display: block;
|
||||||
|
color: white;
|
||||||
|
text-align: center;
|
||||||
|
padding: 14px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
li a:hover {
|
||||||
|
background-color: #111;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="home.html">Home</a></li>
|
<li><a href="home.html">Home</a></li>
|
||||||
<li><a href="about.html">About</a></li>
|
<li><a href="about.html">About</a></li>
|
||||||
|
|
Loading…
Reference in New Issue