-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ElementQuery #1
Comments
Worth looking into: Solving CSS container queries |
There is also a |
To update this pending issue: I still cherish the idea of element (container) queries, and I find them a missing piece in the modern responsive layout development. The primary question I have is the API for this feature, as a part of Atomic layout. |
API proposalHere's a few thoughts on the Element Query API: https://gist.github.com/kettanaito/f315769267c31df2afc904dee291c5bc I'd appreciate any feedback on the proposal. I think the last suggestion (to treat Element Query as a custom Responsive prop bound to a component) is the most versatile API yet. |
Interesting observer-based pattern from Envato: |
What
Need to consider Element Queries non-standard feature.
Why
That is a brand new look at the components and their responsive behavior. I believe that in the conjuncture with the traditional media queries this could allow to create immersive responsive experiences.
How
Specification
See the Element Query API proposal.
The text was updated successfully, but these errors were encountered: