

Main admin interface showing the Classes tab with spacing scale editor
Fluid Space Forge is a professional WordPress plugin that generates responsive spacing systems using modern CSS clamp() functions. Create consistent, scalable margins, padding, and gaps that adapt beautifully from mobile to desktop.
clamp() functions for fluid spacing across all device sizespx and rem unitsFluid Space Forge is the perfect companion to Fluid Font Forge! While typography scales smoothly across devices, your spacing should too. Together, they create cohesive, responsive design systems that work beautifully on any screen size.
CSS Classes
Generate margin, padding, and gap classes:
.space-m-lg { margin: clamp(0.75rem, calc(0.7rem + 0.2vw), 1rem); }
.space-p-md { padding: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.space-g-sm { gap: clamp(0.4rem, calc(0.35rem + 0.15vw), 0.5rem); }
CSS Custom Properties
Create reusable CSS variables:
:root {
–space-lg: clamp(0.75rem, calc(0.7rem + 0.2vw), 1rem);
–space-md: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem);
}
Tailwind-style Utilities
Generate complete utility class sets:
.mt-lg { margin-top: clamp(…); }
.px-md { padding-left: clamp(…); padding-right: clamp(…); }
.gap-y-sm { row-gap: clamp(…); }
CSS clamp() is supported in all modern browsers:
* Chrome 79+
* Firefox 75+
* Safari 13.1+
* Edge 79+
This plugin does not collect, store, or transmit any user data. All calculations and settings are stored locally in your WordPress database.
Contributions are welcome! Visit the GitHub repository to contribute to the project.