#StateQueries

pablolarahpablolarah
2024-09-25

⚜️ Is the sticky thing stuck? Is the snappy item snapped? A look at state queries in CSS

by Brecht De Ruyte @utilitybend

utilitybend.com/blog/is-the-st

Brown blackletter text on illustration of fleur de lys from The Tudor Pattern Book. Stylised floral design. Iris, violet.
Nicolas Hoizeynhoizey@mamot.fr
2024-09-24

“Is the sticky thing stuck? Is the snappy item snapped? A look at state queries in CSS” by @utilitybend

🔗 utilitybend.com/blog/is-the-st

> Is the sticky thing stuck? A lot of us have been there, we have a header navigation that should remain sticky and should only show a shadow from the moment it gets stuck. It always involved some sort of extra scripting to get this working, or we just put the shadow on there by default. But…

#CSS #stateQueries

⚓️ nicolas-hoizey.com/links/2024/

Screenshot of Is the sticky thing stuck? Is the snappy item snapped? A look at state queries in CSS
Inautiloinautilo
2024-09-18


Is the sticky thing stuck? Is the snappy item snapped? · A look at CSS state queries and JS scroll snap events ilo.im/1604k4

_____

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst