Here is the HTML markup I'm working with:
<div class="wrapper">
<div class="block new-block"></div>
<div class="block used-block"></div>
<div class="block service-block"></div>
<div class="block certified-block"></div>
<div class="block offer-type-block"></div>
</div>
Accompanied by this CSS:
.wrapper {
width : 800px;
height : 100px;
background : #393533;
margin : auto;
}
.block {
width : 19%;
height : 80px;
background : salmon;
display : inline-block;
}
I am looking to horizontally and vertically center the 5 inner divs within the wrapper container using CSS. Any suggestions on how I can achieve this? Thank you in advance!