Firefox 151 lands container style queries

Container style queries have arrived in Firefox with the release of version 151, a feature that lets styles depend on the custom properties defined on a container rather than only its size. With this shipping release, the capability reaches Baseline.

CSS-Tricks star logo