0

 .wrapper {
   width: 200px;
}

.wrapper > div {
     float: left;
     width: 50%;
     font-size: 20px;
     line-height: 30px;
}
 .wrapper > div span {
     font-size: 12px;
}
<div class="wrapper">
  <div>a<span>i</span></div>
  <div>b</div>
  <div>c</div>
</div>

maybe there is a mistake in me ,

but who can tell me why ?

or how can i analysis the " what indeed happen there " ?

thanks

  • 1
    add outlines to all the div to notice that the first one is bigger in height pushing the last div (read the duplicate for details) – Temani Afif Nov 30 '22 at 09:20

0 Answers0