Adding styles to menu

This commit is contained in:
Antonio Rodrigues 2023-12-08 08:08:18 -03:00
parent 108ab50b1c
commit 5e6eecc3a6
1 changed files with 28 additions and 0 deletions

View File

@ -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>
<li><a href="home.html">Home</a></li>
<li><a href="about.html">About</a></li>