Adam Argyle @nerdy.dev 路 Jan 23

#CSS `@custom-media` available behind a flag in Firefox Nightly 馃馃徎 Lovely syntax, just lovely. nerdy.dev/custom-media

63 likes 6 replies

?

Replies

Kevin McLaughlin 路 Jan 23

Yea, this is big time. Anything moving us along for cleaner CSS documents is a win.

Arpit Agrawal 路 Jan 23

Love it. I recently ran into a case where I wished I could use it with `@container` too. There is an open spec issue for `@custom-container`: github.com/w3c/csswg-dr...

Rodrigo Dias 路 Jan 24

Custom media queries will clean up my CSS. Finally.

Rodrigo Dias 路 Jan 23

Good addition, simplifies media queries.

Schalk Neethling 路 Jan 23

What the blessings is this!!!!! 鉂わ笍 鉂わ笍 鉂わ笍 鉂わ笍

Josh Davenport-Smith 路 Jan 23

Had no idea about this one, this is incredible. So much cleaner!