Tailwind CSS Fluid Scaling Plugin

Flexbox and Grid

gap

gap

Utilities for controlling gutters between grid and flexbox items.

Basic example

Use gap-fluid-[breakpoints] utilities like gap-fluid-[10px,18px] and gap-fluid-[4,8] to change the gap between both rows and columns in grid and flexbox layouts:

01

02

03

04

JSX
<div className="grid grid-cols-2 gap-fluid-[8px,24px]">
<div>01</div>
<div>02</div>
<div>03</div>
<div>04</div>
</div>

Gap X and Gap Y

Use gap-x-fluid-[breakpoints] and gap-y-fluid-[breakpoints] utilities to set the horizontal and vertical gap between grid and flexbox items:

01

02

03

04

JSX
<div className="grid grid-cols-2 gap-x-fluid-[32px,48px] gap-y-fluid-[12px,18px]">
<div>01</div>
<div>02</div>
<div>03</div>
<div>04</div>
</div>
Visit our website

© Gladeye 2026