why does the anchors move down only when the display is set to inline-block, while creating the navigation bar of coffee shop?
.coffee-nav{
float: right;
height: 100%;
}
.coffee-nav a{
color: white;
padding-right: 12px;
font-size: 15px;
font-weight: 700;
font-family: "Helvetica Neue", sans-serif;
padding-top: 12%;
display: inline-block;
}
When not using inline-block