惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
博客园 - 司徒正美
D
DataBreaches.Net
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
人人都是产品经理
人人都是产品经理
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
J
Java Code Geeks
腾讯CDC
博客园_首页
The Cloudflare Blog
S
SegmentFault 最新的问题
C
Check Point Blog
美团技术团队
爱范儿
爱范儿
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale

Utopia

Fluid responsive typography: easy when you know how Utopian project kickstarter: designing a fluid responsive website in a static tool like Figma Generate all pair permutations in Utopia SCSS Type scale graphs Figma plugin and kickstarter V2 Readable clamp() with PostCSS Utopia Utopia SCSS library Utopia Fluid Type + Space Calculator now supports Figma variables Designing a Utopian layout grid: Working with fluid responsive values in a static design tool. Getting started with Utopia Figma Plugins A video introduction to Utopia Painting with a fluid space palette Designing with a fluid space palette Clamp Utopian CSS generator, an iteration Dealing with negativity in fluid type scales Fluid custom properties CSS-only fluid modular type scales Designing with fluid type scales
Clamp calculator
dev@clearlef · 2023-10-03 · via Utopia

Utopia offers a holistic approach to type & space systems. Rather than specifying every value, we encourage the use of a concise set of foundational values, implemented with modular scales and harmonious multipliers.

However, we also understand that this approach is not always easy to integrate into an existing product. As a developer looking to embrace fluidity, the use of a complete Utopian system may not be possible, particularly if you're looking for initial buy-in to this way of working.

We're not alone in thinking this; a number of fantastic calculators have been created to fill this gap. We particularly love the min-max interpolation calculator by 9elements. But between these single-token calculators, and our original suite of calculators, there is a middle ground to be filled.

Introducing the Utopia Clamp Calculator. This simple generator lets you define any number of custom fluid tokens between a set min/max viewport and export them as CSS.

A screenshot of the Utopia clamp calculator

Most importantly, the generated code also includes a custom URL taking you back to the source of your defined calculations. CSS clamp has a tricky syntax that can't be manually edited, so we've found it's essential to be able to have a way to tweak these values at a later date.

This calculator is the perfect way to dip your toes into the waters of fluid responsive design, or assist you in retrofitting breakpoint-free sizing in your existing projects, without adding a fully fledged type and space system.