Skip to content
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

Detect a constant aspect ratio and use aspect-ratio instead of media queries #3

Open
westonruter opened this issue Sep 1, 2021 · 0 comments

Comments

@westonruter
Copy link
Collaborator

If the calculation determines that the viewport width and embed have a constant ratio, instead of generating media queries with min-height it could instead add a single aspect-ratio property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant