
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/

The WebKit blog details how to use individual CSS Transform properties in the latest version of Safari Technology Preview. This brings the browser in line with the CSS Transforms Module Level 2 spec, which breaks out the translate(), …
The post CSS Individual Transform Properties in Safari Technology Preview appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/css-individual-transform-properties-in-safari-technology-preview/

Creating video is time consuming. A well-made 5-minute video can take hours to plan, record, and edit — and that’s before we start talking about making that video consistent with all the other videos on your site. When we took …
The post Cloudinary Tricks for Video appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Josh Comeau covers the concept of margin collapsing:
This idea might sound simple, but if you’ve been writing CSS for a while, you’ve almost certainly been surprised when margins either don’t collapse, or they collapse in weird and unexpected ways.
…
The post The Rules of Margin Collapse appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

It’s a pretty low-effort thing to get a big fancy link preview on social media. Toss a handful of specific tags on a URL and you get a big image-title-description thing. Here’s Twitter’s version of an article on this …
The post Automatic Social Share Images appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://www.ryanfiller.com/blog/automatic-social-share-images/

I redesigned the site! I can never think about the word redesign without also thinking about realigning, from Cameron Moll’s seminal article. I did not start from nothing. This design wasn’t a blank design canvas and empty code …
The post Design v18 appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Previously in web history… After the first websites demonstrate the commercial and aesthetic potential of the web, the media industry floods the web with a surge of new content. Amateur webzines — which define and voice and tone unique to …
The post Chapter 6: Web Design appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

Ask a hundred front-end developers, and most, if not all, of them will have used the box-shadow property in their careers. Shadows are enduringly popular, and can add an elegant, subtle effect if used properly. But shadows occupy a strange …
The post Simulating Drop Shadows with the CSS Paint API appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/simulating-drop-shadows-with-the-css-paint-api/

The answer to “What is the most accessible HTML for an SVG icon?” isn’t one-size-fits all, because what an icon needs to do on a website varies. I’m partial to Heather Migliorisi’s research on all this, but I can summarize.…
The post Accessible SVG Icons appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

I’ve always liked tag clouds. I like the UX of seeing what tags are most popular on a website by seeing the relative font size of the tags, popular tags being bigger. They seem to have fallen out of fashion, …
The post Create a Tag Cloud with some Simple CSS and even Simpler JavaScript appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
https://css-tricks.com/create-a-tag-cloud-with-some-simple-css-and-even-simpler-javascript/