Quick Hit #105
Safari TP 238 trials customizable <select>, which Chrome has fully implemented already.
You probably want CSS-Tricks
Safari TP 238 trials customizable <select>, which Chrome has fully implemented already.
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.
Continue reading "Popover API or Dialog API: Which to Choose?" at CSS-Tricks
Safari TP 238 trials :open, which would make it baseline (yes, really).
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!
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
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.”
Firefox 148 makes shape() available without a flag, aligning with Chrome and Safari.
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
Bramus very quickly walks us through the new scrolled scroll-state query.
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
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
Safari TP 237 becomes the first to trial :heading, a pseudo-class for selecting multiple heading levels at once.