row-span-4: Tailwind CSS Grid class
The row-span-4 class allows an element to span four rows in the grid layout.
row-span-4
The row-span-4 class allows an element to span four rows in the grid layout.
Example Code
html
<div class="rounded-t-md p-4 bg-indigo-50 mt-12"> <div class="grid grid-rows-2 grid-flow-col gap-4"> <div class="bg-indigo-500 text-white p-4 font-bold text-center">A</div> <div class="bg-indigo-500 text-white p-4 font-bold text-center flex items-center justify-center row-span-4" > 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!
