Resources
Your design. Fluid on every screen.
Enter your design values. Fluent generates the responsive CSS, ready to copy into Webflow or your website.
Choose a reference text in your design, then its size at the minimum width. Fluent preserves its proportions by adjusting the size of 1 rem.
Desktop
Tablet
Mobile
Your responsive CSS
Paste this code into an Embed or the custom <head> code. Use rem for sizes and spacing, and the container class for your content wrapper.
<style>
html { font-size: 8px; }
@media (min-width: 240px) {
html { font-size: clamp(8px, calc(-0.033473px + 3.34728vw), 16px); }
}
@media (min-width: 768px) {
html { font-size: clamp(12px, calc(-1.775785px + 1.793722vw), 16px); }
}
@media (min-width: 992px) {
html { font-size: clamp(10.666667px, calc(-1.142857px + 1.190476vw), 16px); }
}
.container { width: 100%; max-width: 90rem; margin-inline: auto; }
</style>