Raindrop.io Bookmarks 02/22/2025
- Some Things You Might Not Know About Custom Counter Styles | CSS-Tricks
"I just thought those were some pretty interesting ways to work with list markers in CSS that run counter (get it?!) to how I've traditionally approached this sort of thing. And with @counter-style becoming Baseline "newly available" in September 2023, it's well-supported in browsers."
- Three Approaches to the "&" (ampersand) Selector in CSS - Frontend Masters Boost
"Either way, grouping style rulesets is crucial for enhancing code readability, maintainability, and to provide a desired order of use among conflicting style rules. The & selector in native CSS can help with that, as well as in specifying selection criteria that might otherwise be challenging to define."
- Live CSS Colors: What You Can Safely Use | That HTML Blog
"as you wade into defining live colors using variables and/or currentColor, I would recommend seeing if you can go with color-mix as a starting point. If that doesn't work, you can try Relative Color but bear in mind that if you need more than just CSS variable support, aka currentColor, browser support isn't quite there yet."
- Faux Containers in CSS Grids - Cloud Four
"Pseudo elements have drawbacks. Historically, some browsers have been fussy animating or transforming them. And they're tough to manipulate with JavaScript."
- Adactio: Journal--The web on mobile
"Never mind the terrible performance penalties incurred by unnecessary frameworks and libraries like React and its ilk, there's the constant game of whack-a-mole with banners and overlays. What's just about bearable in a large desktop viewport becomes intolerable on a small screen."
- False Promises of WebP Support - Cloud Four
"If Polish's lossless option is turned on, it is unlikely that images uploaded in any lossless format (e.g., JPEG) will ever be smaller when converted to lossless WebP."