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

support css support synatx #79

Open
SGAMERyu opened this issue Apr 10, 2023 · 0 comments
Open

support css support synatx #79

SGAMERyu opened this issue Apr 10, 2023 · 0 comments

Comments

@SGAMERyu
Copy link
Contributor

Sometimes CSS properties provide us with query syntax, such as 'support'. What if we combine this approach with props for responsive design?

And here's a polished version of the English translation:

At times, CSS properties offer us query syntax like 'support'. How about we incorporate this approach with props for a more responsive design?

@supports (aspect-ratio: props.ratio) {
  .container {
    aspect-ratio: 16 / 9;
  }
}
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