Skip to content

Feat: Allow @container to roll back to media query #36

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thedb
Copy link

@thedb thedb commented May 1, 2025

  • Use '@support' to detect whether '@container' attribute is supported on browser, and ensure it can be rolled back to the media query
  • Update test cases

thedb added 2 commits May 1, 2025 21:03
…on browser, and ensure it can be rolled back to the media query
@thedb
Copy link
Author

thedb commented May 1, 2025

Since @container is still a new css property (Since 2023), I think it can use @support (Since 2015) for rollback processing

@thedb thedb changed the title Feature/fallback to meadia query Feature/fallback to media query May 2, 2025
@thedb thedb changed the title Feature/fallback to media query Feature/Rollback to media query May 2, 2025
@thedb thedb changed the title Feature/Rollback to media query Feat: Allow @container to roll back to media query May 5, 2025
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

Successfully merging this pull request may close these issues.

1 participant