I would like to adjust the top and bottom padding on a flex-box, but the changes are not displaying in the browser. I think the problem lies in one of the following rules:
.logo
{
width: 10%;
display: inline-flex;
}
.nav
{
display: flex;
align-items: center;
background-color: rgba(0, 0, 0, 0.05);
margin-bottom: 10%;
}
.link-reg
{
color: black;
display: inline-block;
margin-right: 3%;
text-decoration: none;
transition: all .2s ease-in;
background-color: white;
padding: 1% 2% 1% 2%;
border-radius: 15em;
}
.link-reg:hover
{
background-color: rgba(255, 255, 255, 0.7);
}
The padding is set on line 54. A Fiddle is available here. Thank you!
NOTE: I know there is a question like this one, but it is not clear, contains no explanation, and I did not like the solution as shown.