rows-end-13: Tailwind CSS Grid class

The row-end-13 class ensures the grid item ends at the thirteenth row, often used in custom grid layouts.


row-end-13

The row-end-13 class ensures the grid item ends at the thirteenth row, often used in custom grid layouts.

Example Code

html
<div class="rounded-t-md p-4 bg-indigo-50 mt-12">
<div class="grid grid-cols-4 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 class="bg-indigo-500 text-white p-4 font-bold text-center">D</div>
<div
class="bg-indigo-500 text-white p-4 font-bold text-center row-end-13"
>
E
</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">F</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">G</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">H</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">I</div>
<div class="bg-indigo-500 text-white p-4 font-bold text-center">J</div>
</div>
</div>

Preview

A
B
C
D

E

F
G
H
I
J

How to Use

Add the rows-end-13 class directly to your HTML element:

html
<div class="rows-end-13">
<!-- Your content here -->
</div>

Responsive Usage

Use Tailwind's responsive prefixes to apply rows-end-13 at specific breakpoints:

html
<div class="sm:rows-end-13 md:rows-end-13 lg:rows-end-13">
Responsive element
</div>
  • sm:rows-end-13 — applies from 640px and up
  • md:rows-end-13 — applies from 768px and up
  • lg:rows-end-13 — applies from 1024px and up

Customization

You 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

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates