I'm trying to create a navigation bar that contains a list of things. I want to vertically align this list in the navigation bar. How would I go about doing that?
.navbar {
position: fixed;
height: 100%;
width: 240px;
top: 0;
left: 0;
background: aqua;
padding: 6px 14px;
text-align: center;
align-items: center;
}
.navbar ul {
margin-top: 20px;
height: 100%;
border: 5px solid #000000;
}
.navbar ul li{
position: relative;
margin: 0 5px;
height: 50px;
width: 100%;
line-height: 50px;
list-style: none;
}