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

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
Vercel News
Vercel News
D
DataBreaches.Net
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
小众软件
小众软件
美团技术团队
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
D
Docker
Martin Fowler
Martin Fowler
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Blog — PlanetScale
Blog — PlanetScale
H
Hackread – Cybersecurity News, Data Breaches, AI and More
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
S
SegmentFault 最新的问题
云风的 BLOG
云风的 BLOG
B
Blog
雷峰网
雷峰网
The Cloudflare Blog

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.