Written by: Daniel Schwarz
Despite what’s been a sleepy couple of weeks for new Web Platform Features, we have an issue of What’s !important that’s prrrretty jam-packed. The web community had a lot to say, it seems, so fasten your seatbelts!
Continue reading "What’s !important #6: :heading, border-shape, Truncating Text From the Middle, and More" at CSS-Tricks
Written by: Juan Diego Rodríguez
TL;DR: We can center absolute-positioned elements in three lines of CSS. And it works on all browsers!
Continue reading "Yet Another Way to Center an (Absolute) Element" at CSS-Tricks
Written by: Lee Meyer
Read an explanation of the recent CVE-2026-2441 vulnerability that was labeled a “CSS exploit” that “allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page.”
Continue reading "An Exploit … in CSS?!" at CSS-Tricks
Written by: Daniel Schwarz
Firefox 148 makes shape() available without a flag, aligning with Chrome and Safari.
Continue reading "Quick Hit #103" at CSS-Tricks
Written by: Declan Chidlow
Browsers don’t just let you bookmark web pages. You can also bookmark JavaScript, allowing you to do so much more than merely save pages.
Continue reading "A Complete Guide to Bookmarklets" at CSS-Tricks
Written by: Daniel Schwarz
Bramus very quickly walks us through the new scrolled scroll-state query.
Continue reading "Quick Hit #102" at CSS-Tricks
Written by: Mariana Beldi
Let’s get nuanced in this article and discuss the capabilities of both SVG and raster imaged so that you can make informed decisions in your own work.
Continue reading "Loading Smarter: SVG vs. Raster Loaders in Modern Web Design" at CSS-Tricks
Written by: Daniel Schwarz
Danny has several ideas for how we could use :near(), a proposed pseudo-class that detects when the pointer is near an element.
Continue reading "Potentially Coming to a Browser :near() You" at CSS-Tricks
Written by: Daniel Schwarz
Safari TP 237 becomes the first to trial :heading, a pseudo-class for selecting multiple heading levels at once.
Continue reading "Quick Hit #101" at CSS-Tricks
Written by: Zell Liew
The distinction between “components” and “utilities” seems clear at first glance, but gets a little blurred when working with them in Tailwind.
Continue reading "Distinguishing “Components” and “Utilities” in Tailwind" at CSS-Tricks
Written by: Daniel Schwarz
Interop 2026 is here — find out which features Chrome, Safari, and Firefox have agreed to make consistent across all […]
Continue reading "Quick Hit #100" at CSS-Tricks
Written by: Lee Meyer
Lee accepts a challenge: arranging text in a spiral that animates as a vortex on scroll… all in CSS.
Continue reading "Spiral Scrollytelling in CSS With sibling-index()" at CSS-Tricks