Popover API or Dialog API: Which to Choose?
Zell Liew |
Choosing between Popover API and Dialog API is difficult because they seem to do the same job, but they don’t! After a bit lots of research, I discovered that the Popover API and Dialog API are wildly different in terms of accessibility and we'll go over that in this article.
Popover API or Dialog... read more
What’s !important #6: :heading, border-shape, Truncating Text From the Middle, and More
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!
What’s !important #6: :heading, border-shape, Truncating Text From the Middle, and ... read more
Yet Another Way to Center an (Absolute) Element
Juan Diego Rodríguez |
TL;DR: We can center absolute-positioned elements in three lines of CSS. And it works on all browsers!
Yet Another Way to Center an (Absolute) Element originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
... read more
An Exploit … in CSS?!
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."
An Exploit … in CSS?! originally published on CSS-Tricks, which is part of the DigitalOcean family. Yo... read more
A Complete Guide to Bookmarklets
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.
A Complete Guide to Bookmarklets originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
... read more
Loading Smarter: SVG vs. Raster Loaders in Modern Web Design
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.
Loading Smarter: SVG vs. Raster Loaders in Modern Web Design originally published on CSS-Tricks, which is part of the DigitalOcean family. You shou... read more
Potentially Coming to a Browser :near() You
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.
Potentially Coming to a Browser :near() You originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
... read more
Distinguishing “Components” and “Utilities” in Tailwind
Zell Liew |
The distinction between "components" and "utilities" seems clear at first glance, but gets a little blurred when working with them in Tailwind.
Distinguishing “Components” and “Utilities” in Tailwind originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the n... read more
Spiral Scrollytelling in CSS With sibling-index()
Lee Meyer |
Lee accepts a challenge: arranging text in a spiral that animates as a vortex on scroll... all in CSS.
Spiral Scrollytelling in CSS With sibling-index() originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
... read more
Interop 2026
Geoff Graham |
Interop 2026 is officially a thing and there's plenty of new (and even old) CSS features that we can look forward to being cross-browser compatible and consistent!
Interop 2026 originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.
... read more
