CSS HTML5 DIV Align Everything in Middle [duplicate]

use flexbox CSS.

div{
  border:1px solid black; 
  display:flex;
  justify-content: space-between;
  align-items:center;
}
<div>
 <i class="fa fa-caret-left" style="font-size:35px">-</i>
  NOVEMBER 2020 
 <i class="fa fa-caret-Right" style="font-size:35px">+</i>
 </div>

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top