# What's !important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More

DevFeed: [What's !important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More](<https://devfeed.tech/articles/what-s-important-19-css-refraction-effects-scroll-state-queries-custom-media-and-more-103495.md>)

Original publisher: [Read original article](<https://css-tricks.com/whats-important-19/>)

Author: Daniel Schwarz

Published: 2026-10-27T15:09:16Z

Content type: news

Language: en

Sources: [CSS-Tricks](<https://devfeed.tech/sources/css-tricks.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [animations](<https://devfeed.tech/topics/animations.md>), [image effects](<https://devfeed.tech/topics/image-effects.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>)

Tags: [anchor-positioning](<https://devfeed.tech/tags/anchor-positioning.md>), [animations](<https://devfeed.tech/tags/animations.md>), [articles](<https://devfeed.tech/tags/articles.md>), [attr](<https://devfeed.tech/tags/attr.md>), [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [custom](<https://devfeed.tech/tags/custom.md>), [effects](<https://devfeed.tech/tags/effects.md>), [media](<https://devfeed.tech/tags/media.md>), [news](<https://devfeed.tech/tags/news.md>), [queries](<https://devfeed.tech/tags/queries.md>), [scroll](<https://devfeed.tech/tags/scroll.md>), [state](<https://devfeed.tech/tags/state.md>)

## AI overview

This roundup highlights practical CSS techniques and emerging web features. It describes CSS-only background refraction effects, customizable components built with style queries and advanced `attr()`, and `scroll-state()` queries for detecting scrollable, scrolled, snapped, or stuck states. Other examples cover animating grid content with anchor positioning, detecting overlaps, custom borders, and animating `::selection` through an inherited `@property` value. It also notes limitations: anchor-positioned grid animation reportedly has a Firefox bug, and the custom borders demo currently requires Chrome. Browser updates list features newly shipped in Firefox, Chrome, and Safari, with support differences called out; some features are already Baseline while others lack support in one or more browsers.

## Source excerpt

We're back! Don't worry, this isn't a trick (despite what our name suggests!). However, due to the hiatus, we're also a little behind. That's why this issue of What's !important is absolutely stacked. All killer, no filler. Here's what you missed. What's !important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.