New course! Every coder should learn Generative AI!
Try a free lesson+ 5
CSS:
.reverse {
display: flex;
flex-direction: column-reverse;
}
HTML:
<div class="reverse" >
<div>block 1</div>
<div>block 2</div>
</div>
you will see:
block 2
block 1