Answer the question
In order to leave comments, you need to log in
How to align elements inside blocks vertically?
There is a container
<div class="row">
<div class="col-xs-12 col-md-3 logo-container"></div>
<div class="col-xs-12 col-md-4 search"></div>
<div class="col-xs-12 col-md-5 ph-cart"></div>
</div>
.row {
display: -webkit-flex;
display: -o-flex;
display: -ms-flex;
display: -moz-flex;
display: flex;
align-items: center;
}
Answer the question
In order to leave comments, you need to log in
line-height set the same, the size of the line height (well, or the height of the logo)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question