I've been playing around with container queries and so far, there is only one best practice that I would recommend. Whenever you use container queries, make sure you wrap the element with a container element. So your HTML should look like this: <div ...
Just a developer :)
I'm just a developer who loves to share what I discovered. I primarily blog at http://zellwk.com and cross-post to this website :)
Markdown supported · ⌘↵ to post
No responses yet.