Windframe
Build Tailwind UIs that actually look good!
.jpg)
The row-end-12 class positions the grid item to end at the twelfth row.
Try each class live and inspect the CSS output.
grid grid-cols-3display: grid; grid-template-columns: repeat(3,minmax(0,1fr));The row-end-12 class positions the grid item to end at the twelfth row.
1<div class="rounded-t-md p-4 bg-indigo-50">2 <div class="grid grid-cols-6 gap-4">3 <div4 class="bg-indigo-300 text-white p-4 font-bold text-center rounded-md w-12 h-12"5 ></div>6 <div7 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-2 col-span-4"8 >9 A10 </div>11 <div12 class="bg-indigo-300 text-white p-4 font-bold text-center rounded-md w-12 h-12"13 ></div>14 <div15 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-1 col-end-3 "16 >17 B18 </div>19 <div20 class="bg-indigo-500 text-white p-4 font-bold text-center col-end-7 col-span-2"21 >22 C23 </div>24 <div25 class="bg-indigo-500 text-white p-4 font-bold text-center col-start-3 row-end-12"26 >27 D28 </div>29 </div>30</div>
A
B
C
D
Add the rows-end-12 class directly to your HTML element:
1<div class="rows-end-12">2 <!-- Your content here -->3</div>
Use Tailwind's responsive prefixes to apply rows-end-12 at specific breakpoints:
1<div class="sm:rows-end-12 md:rows-end-12 lg:rows-end-12">2 Responsive element3</div>
sm:rows-end-12 — applies from 640px and upmd:rows-end-12 — applies from 768px and uplg:rows-end-12 — 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
