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 ...
Markdown supported · ⌘↵ to post
No responses yet.