rows-end-2: Tailwind CSS Grid class

The row-end-2 class positions the element to end at the second row in the grid layout.


row-end-2

The row-end-2 class positions the element to end at the second row in the grid layout.

Example Code

html
<div class="rounded-t-md p-4 bg-indigo-50 mt-12">
<div class="grid grid-rows-3 grid-flow-col gap-4">
<div
class="bg-indigo-500 text-white p-4 font-bold text-center row-end-2 row-span-1"
>
A
</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">B</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">C</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">D</div>
</div>
</div>

Preview

A

B
C
D

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