Addon · Sizing
One number, four flavors. Padding, margin, gap, width, height — all on the same fluid scale.
A fluid square at every step. Resize the window to see them all adapt at once.
Same number, four scaling curves. Pick the one that matches your design intent.
Default fluid scaling.
Subtler curve. Smaller delta between min and max.
Aggressive curve. Big mobile shrink.
Pushed beyond on large viewports.
@use 'eva-css-fluid' with ( $sizes: (4, 8, 16, 32, 64, 128) );
<div class="p-32 g-16">...</div> <div class="w-220 h-136">...</div>
.card {
padding: var(--32);
gap: var(--16__);
}
Step-by-step calculation, naming conventions, the $Φ ratio, prefix list. Everything an AI needs.
Open /llms.txt →