馃殌 Feature Request: Responsive Media Support For New @container Queries
#21425
perks98
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe.
The next generation of media queries is currently the @container queries. From this article https://web.dev/cq-stable/ it seems to now be supported in all major browsers. This could help with complex or minimalistic designs reducing some CSS if used right and perfect for template designs for instance you can use the same template in a very narrow sidebar and the same used in a full-width banner elsewhere.
@container works in simpler terms to be adaptive based on the container width while @media works based on the viewpoint of the device.
Describe the solution you'd like
N/A
Describe alternatives you've considered
No response
Additional context
No response
All reactions