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

feat: support @container #2127

Merged
merged 4 commits into from Apr 4, 2022
Merged

feat: support @container #2127

merged 4 commits into from Apr 4, 2022

Conversation

yisibl
Copy link
Contributor

@yisibl yisibl commented Mar 25, 2022

Input

@supports ( container-type: size ) {
  @container ( width <= 150px ) {
    #inner {
      background-color: skyblue;
    }
  }
}

Output

@supports (container-type: size){@container (width <= 150px){#inner{background-color:#87ceeb}}}

@yisibl
Copy link
Contributor Author

yisibl commented Mar 26, 2022

@evanw PTAL, thanks.

@evanw evanw merged commit 6cf0323 into evanw:master Apr 4, 2022
@yisibl yisibl deleted the container-queries branch April 4, 2022 03:55
@yisibl
Copy link
Contributor Author

yisibl commented Apr 4, 2022

Thanks!

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.

None yet

2 participants