How to use container queries now
July 5, 2024
Recently, Chris Coyier wrote a blog post posing the question:
“Now that container queries are supported in all browser engines, why aren’t more developers using them?”
Chris’s post lists a number of potential reasons (for example, lack of awareness, old habits die hard), but there’s one particular reason that stands out.
Some developers say they want to use container queries now but think they can’t because they still have to support older browsers.
As you may have guessed from the title, we think it’s possible for most developers to use container queries now—in production—even if you have to support older browsers. This post walks you through the approach we recommend to do that.
Source: How to use container queries now
Keen on Container Queries and want to use them but concerned about older non-supporting browsers? You may still be in luck.