I have three div elements. I want the first one on the left, and the other on the right side.
<div class="flex-container">
<div class="first">1</div>
<div>2</div>
<div>3</div>
</div>
I tried flex style
justify-content: flex-end;
and for the first one I wanted the first one float to the left
.flex-container .first {
float: left;
}
But they all float to the right. Please see the demo.