A font-display setting for slow connections

Me, I really dislike FOUT. I like that it’s an option, because not displaying text quickly on the web is no good. I know font-display: swap; is popular because it’s good for performance, but that FOUT stuff pains me. Matt …

The post A font-display setting for slow connections appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://calendar.perfplanet.com/2020/a-font-display-setting-for-slow-connections/

Created 4y | Dec 31, 2020, 4:20:44 PM


Login to add comment

Other posts in this group

Scroll Driven Animations Notebook

Adam’s such a mad scientist with CSS. He’s been putting together a series of “notebooks” that make it easy

Feb 13, 2025, 2:30:05 PM | CSS tricks
Typecasting and Viewport Transitions in CSS With tan(atan2())

We’ve been able to get the length of the viewport in CSS since… checks notes… 

Feb 12, 2025, 3:20:06 PM | CSS tricks
Make Any File a Template Using This Hidden macOS Tool

Stationery Pad is a handy way to nix a step in your workflow if you regularly use document templates on your Mac. The long-standing Finder feature essentially tells a file’s parent application to o

Feb 10, 2025, 7:20:06 PM | CSS tricks
Organizing Design System Component Patterns With CSS Cascade Layers

I enjoy organizing code and find cascade layers a fantastic way to organize code explicitly as the cascade looks at it. The neat part is, that as much as it helps with "top-level" organization, cas

Feb 10, 2025, 2:40:07 PM | CSS tricks
Container query units: cqi and cqb

A little gem from Kevin Powell's "HTML & CSS Tip of the Week" website, reminding us that using container queries opens up container query units for sizing things based on the size of the queried co

Feb 6, 2025, 3:40:06 PM | CSS tricks
Baseline Status in a WordPress Block

The steps for how I took the Baseline Status web component and made it into a WordPress block that can be used on any page of post.


Feb 5, 2025, 4:30:08 PM | CSS tricks
Compiling CSS With Vite and Lightning CSS

Are partials the only thing keeping you writing CSS in Sass? With a little configuration, it's possible to compile partial CSS files without a Sass dependency. Ryan Trimble has the details.

<hr

Feb 3, 2025, 3:40:18 PM | CSS tricks