Grid-rows-1: Tailwind CSS Grid class
The grid-rows-1 class sets the grid layout to have a single row.
Grid-rows-1
The grid-rows-1 class sets the grid layout to have a single row.
Example Code
html
<div class="rounded-t-md p-4 bg-indigo-50"> <div class="grid grid-rows-1 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">B</div> <div class="bg-indigo-500 text-white p-4 font-bold text-center">C</div> </div></div>
Preview
A
B
C
Windframe is a drag and drop builder for rapidly building tailwind css websites and UIs
Start building stunning tailwind UIs!
