Here is the HTML structure:
<div class="row">
<div class="cell left">A</div>
<div class="cell left">B</div>
<div class="cell right">C</div>
<div class="cell left">D</div>
<div class="cell right">E</div>
<div class="cell left">F</div>
</div>
I am aiming to achieve this layout:
All "cell left" elements should be aligned to the left and top. All "cell right" elements should be aligned to the right and top.
The structure of the HTML needs to remain unchanged. How can I define CSS using FLEX or FLOAT to achieve this when the number or order of cells in each row is unpredictable?
I have attempted to use FLEX or FLOAT for this purpose, but the right cells are not aligning properly with the top.