Please have a look at this code:
<div class="parent">
<header class="child-1">
<h1 class="float-left">lorem...</h1>
<div class="float-right">lorem...</div>
</header>
<div class="child-2">lorem...</div>
</div>
CSS looks like:
.parent {
display: flex;
align-items: center;
}
Applying this causes both child-1 and child-2 centered vertically in one line. I need that child-2 should start from line2, i.e., right below child-1.
Thanks in advance