You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
730 B
45 lines
730 B
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: lightgray;
|
|
}
|
|
|
|
|
|
nav{
|
|
align-items: center;
|
|
}
|
|
.nav_links{
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
.nav_links li{
|
|
line-height: 10vh;
|
|
display: table;
|
|
list-style: none;
|
|
text-align: center;
|
|
|
|
width: 25%;
|
|
}
|
|
|
|
.nav_links li a{
|
|
margin:auto;
|
|
display: block;
|
|
color:black;
|
|
letter-spacing: 3px;
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
|
|
}
|
|
.nav_links li:nth-child(1n) > a{
|
|
background-color: #0e9aa7;
|
|
}
|
|
.nav_links li:nth-child(2n) > a{
|
|
background-color: #f6cd61;
|
|
}
|
|
.nav_links li:nth-child(3n) > a{
|
|
background-color: #fe8a71;
|
|
}
|
|
.nav_links li:nth-child(4n) > a{
|
|
background-color: #3da4ab;
|
|
} |