Windframe
Build Tailwind UIs that actually look good!
.jpg)
The row-span-4 class allows an element to span four rows in the grid layout.
The row-span-4 class allows an element to span four rows in the grid layout.
<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>B
Add the row-span-4 class directly to your HTML element:
<div class="row-span-4"> <!-- Your content here --></div>Use Tailwind's responsive prefixes to apply row-span-4 at specific breakpoints:
<div class="sm:row-span-4 md:row-span-4 lg:row-span-4"> Responsive element</div>sm:row-span-4 — applies from 640px and upmd:row-span-4 — applies from 768px and uplg:row-span-4 — applies from 1024px and upYou can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.
Windframe is an AI visual editor for rapidly building stunning web UIs & websites
