![Early Days of Container Style Queries](https://www.cdn5.niftycent.com/d/D/Z/0/n/5/b/early-days-of-container-style-queries.webp)
We’re still in suuuuuper early days with container queries. Too early for broad browser support, but Chromium already supports it, Safari started supporting it in version 16, and Firefox is presumably not far behind.
Most early days conversations …
![Rendering External API Data in WordPress Blocks on the Front End](https://www.cdn5.niftycent.com/d/1/p/v/9/2/O/rendering-external-api-data-in-wordpress-blocks-on-the-front-end.webp)
There’ve been some new tutorials popping here on CSS-Tricks for working with WordPress blocks. One of them is an introduction to WordPress block development and it’s a good place to learn what blocks are and to register them in WordPress …
![Adding Fluid Typography Support to WordPress Block Themes](https://www.cdn5.niftycent.com/d/e/4/E/R/g/x/adding-fluid-typography-support-to-wordpress-block-themes.webp)
Fluid typography is a fancy way of “describing font properties, such as size or line height, that scale fluidly according to the size of the viewport”. It’s also known by other names, like responsive typography, flexible type, fluid type, …
![How to Safely Share Your Email Address on a Website](https://www.cdn5.niftycent.com/d/D/m/j/J/n/W/how-to-safely-share-your-email-address-on-a-website.webp)
Spammers are a huge deal nowadays. If you want to share your contact information without getting overwhelmed by spam email you need a solution. I run into this problem a few months ago. While I was researching how to solve …
How to Safely Share Your Email Address on a Website originally published on CSS-Tricks,
![Using Web Components With Next (or Any SSR Framework)](https://www.cdn5.niftycent.com/d/1/R/E/q/B/x/using-web-components-with-next-or-any-ssr-framework.webp)
In my previous post we looked at Shoelace, which is a component library with a full suite of UX components that are beautiful, accessible, and — perhaps unexpectedly — built with Web Components. This means they can be used …
![State of CSS 2022 Survey Now Open](https://www.cdn5.niftycent.com/d/1/g/a/J/P/d/state-of-css-2022-survey-now-open.webp)
The State of CSS survey recently opened up. Last year, the survey confirmed everyone’s assumptions that TailwindCSS is super popular and CSS variables are mainstream. It also codified what many of us want from CSS, from Container Queries to …
![Introducing Shoelace, a Framework-Independent Component-Based UX Library](https://www.cdn5.niftycent.com/d/D/Z/0/v/y/W/introducing-shoelace-a-framework-independent-component-based-ux-library.webp)
This is a post about Shoelace, a component library by Cory LaViska, but with a twist. It defines all your standard UX components: tabs, modals, accordions, auto-completes, and much, much more. They look beautiful out of the …
![Getting Started With WordPress Block Development](https://www.cdn5.niftycent.com/d/D/P/7/g/Q/G/getting-started-with-wordpress-block-development.webp)
Let’s acknowledge that developing for WordPress is weird right now. Whether you’re new to WordPress or have worked with it for eons, the introduction of “Full-Site Editing” (FSE) features, including the Block Editor (WordPress 5.0) and the Site Editor (WordPress …
![GIFs Without the .gif: The Most Performant Image and Video Options Right Now](https://www.cdn5.niftycent.com/d/k/M/y/g/B/r/gifs-without-the-gif-the-most-performant-image-and-video-options-right-now.webp)
So you want an auto-playing looping video without sound? In popular vernacular this is the very meaning of the word GIF. The word has stuck around but the image format itself is ancient and obsolete. Twitter, for example, has …
GIFs Without the .gif: The Most Performant Image and Video Options Right Now originally published on
![Named Element IDs Can Be Referenced as JavaScript Globals](https://www.cdn5.niftycent.com/d/k/z/L/x/a/n/named-element-ids-can-be-referenced-as-javascript-globals.webp)
Did you know that DOM elements with IDs are accessible in JavaScript as global variables? It’s one of those things that’s been around, like, forever but I’m really digging into it for the first time.
If this is the first …
Named Element IDs Can Be Referenced as JavaScript Globals originally published on