flex-col-reverse: Tailwind CSS Flex class

The flex-col-reverse class arranges flex items in a vertical column but reverses their order, stacking them from bottom to top.


Flex-col-reverse

The flex-col-reverse class arranges flex items in a vertical column but reverses their order, stacking them from bottom to top.

Example Code

html
<div class="flex flex-col-reverse justify-center items-center p-5 text-white font-bold bg-teal-100 rounded-t-md">
<div class="bg-teal-500 p-4 m-2 rounded">Item 1</div>
<div class="bg-teal-500 p-4 m-2 rounded">Item 2</div>
<div class="bg-teal-500 p-4 m-2 rounded">Item 3</div>
</div>

Preview

Item 1
Item 2
Item 3

Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs

Start building stunning tailwind UIs! 

Build from scratch or select prebuilt tailwind templates