Professional responsive spacing tools for WordPress developers
A WordPress plugin that generates responsive spacing systems using CSS clamp() functions. Create consistent, scalable margins, padding, and gaps that adapt beautifully from mobile to desktop.
- Responsive Spacing: Generate CSS
clamp()functions for fluid spacing across all device sizes - Three Output Formats:
- CSS Classes (
.space-lg,.space-md) - CSS Custom Properties (
--space-lg,--space-md) - Utility Classes (
.mt-lg,.p-md,.mx-sm)
- CSS Classes (
- Live Preview: See your spacing at different screen sizes in real-time
- Drag & Drop: Reorder your spacing scale with intuitive drag-and-drop
- Mathematical Scaling: Use proven typographic ratios (Minor Second, Major Third, etc.)
- Dual Units: Support for both
pxandremunits - Two-Tier Autosave: UI preferences save automatically, data requires manual save (allows refresh-to-undo)
- Copy to Clipboard: Copy CSS code with visual feedback
- Reset Controls: Restore default settings with confirmation
- Keyboard Navigation: Tab and Enter key support for efficient workflow
Fluid Space Forge is the perfect companion to the Fluid Font Forge! While typography scales smoothly across devices, your spacing should too. Together, they create cohesive, responsive design systems.
- Go to Plugins > Add New in WordPress admin
- Search for "Fluid Space Forge"
- Click Install Now then Activate
- Access via Fluid Space Forge in the admin menu
- Download the plugin ZIP file
- Go to Plugins > Add New > Upload Plugin
- Choose the ZIP file and click Install Now
- Click Activate Plugin
- Access via Fluid Space Forge in the admin menu
- Configure Settings: Set your base spacing values and viewport range
- Choose Output Format: Select Classes, Variables, or Utilities tab
- Customize Spacing Scale: Add, edit, or reorder your spacing sizes
- Preview Results: See live previews at different screen sizes
- Copy CSS: Export your generated CSS code
The plugin uses linear interpolation to create smooth transitions between your minimum and maximum spacing values:
/* Example output */
.space-md {
margin: clamp(0.75rem, calc(0.7rem + 0.2vw), 1rem);
}- Base Values: Define your core spacing at min/max viewports
- Scaling Ratios: Use proven ratios like 1.125 (Major Second) or 1.25 (Major Third)
- Linear Interpolation: Smooth transitions between viewport breakpoints
- Min Viewport: Smallest screen size (default: 375px)
- Max Viewport: Largest screen size (default: 1620px)
- Min Base Space: Space size at minimum viewport (default: 8px)
- Max Base Space: Space size at maximum viewport (default: 12px)
- 1.067 - Minor Second (subtle scaling)
- 1.125 - Major Second (balanced scaling)
- 1.200 - Minor Third (noticeable scaling)
- 1.250 - Major Third (dramatic scaling)
- 1.333 - Perfect Fourth (strong scaling)
.space-xs { margin: clamp(0.4rem, calc(0.35rem + 0.15vw), 0.5rem); }
.space-sm { margin: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.space-md { margin: clamp(0.75rem, calc(0.7rem + 0.2vw), 1rem); }:root {
--space-xs: clamp(0.4rem, calc(0.35rem + 0.15vw), 0.5rem);
--space-sm: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem);
--space-md: clamp(0.75rem, calc(0.7rem + 0.2vw), 1rem);
}.mt-sm { margin-top: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.mb-sm { margin-bottom: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.ml-sm { margin-left: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.mr-sm { margin-right: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.mx-sm { margin-left: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); margin-right: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.my-sm { margin-top: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); margin-bottom: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }
.m-sm { margin: clamp(0.6rem, calc(0.55rem + 0.18vw), 0.75rem); }- WordPress: 5.0 or higher
- PHP: 7.4 or higher
- Browser: Modern browsers with CSS
clamp()support
CSS clamp() is supported in:
- β Chrome 79+
- β Firefox 75+
- β Safari 13.1+
- β Edge 79+
For older browsers, consider providing fallback values.
/* Use with your existing design system */
.card {
padding: var(--space-md);
margin-bottom: var(--space-lg);
}
.section {
padding-top: var(--space-xl);
padding-bottom: var(--space-xl);
}<!-- Using utility classes -->
<div class="p-md mb-lg">
<h2 class="mb-sm">Heading</h2>
<p class="mb-md">Content with responsive spacing</p>
</div>Contributions are welcome! Please feel free to submit issues and pull requests.
- Clone the repository
- Install in WordPress development environment
- Make changes and test thoroughly
- Submit pull request with detailed description
Fluid Space Forge is part of the CSS Tools series by:
- Jim R. - JimRForge.com
- Claude AI - Anthropic (Development Assistant)
This project is licensed under the GPL-2.0+ License - see the WordPress Plugin Repository for details.
- Issues: Submit via GitHub Issues
- Documentation:
- User's Guide - Complete reference documentation
- Quick Start - Get started in 5 minutes
- Community: WordPress Plugin Support Forum
Made with β€οΈ for the WordPress community
Create beautiful, responsive spacing systems that scale perfectly across all devices.

