Here’s how to quickly test components that use container queries
Container queries are amazing. It lets us build beautiful UI that ensures the component looks good no matter what size the component is displayed at.
But because of this feature, it becomes difficult to test container queries.
If you do it normally, you have to resize your browser many times. This can be irritating and a huge waste of time.
There are better ways.
There are two ways to make things easier
The first is to use a browser like Polypane that lets you debug multiple viewports at the same time. It costs only $9/m and it has the potential to reduce a lot of developmental headaches.

If you don’t want to spend any money, the second way is to debug your components with a utility that lets you display the component in many different sizes.

I’ll show you how to use this utility in today’s article.
https://zellwk.com/blog/test-components-that-use-container-queries/
As always, let me know if this helps you.
If you want to me to write about a specific topic, feel free to let me know as well and I’ll see what I can do.
Enjoy!
Stay awesome,
Zell