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

@supported shorthand for whether declarations are supported #320

Open
1aron opened this issue Dec 27, 2023 · 0 comments
Open

@supported shorthand for whether declarations are supported #320

1aron opened this issue Dec 27, 2023 · 0 comments
Labels
feature New feature
Milestone

Comments

@1aron
Copy link
Member

1aron commented Dec 27, 2023

Description

Case 1

- grid@supports(display:grid)
+ grid@supported
@supports (display:grid) {
    .grid\@supported {
        display: grid
    }
}

Case 2

- {grid;w:100dvw}@supports(display:grid)and(width:100dvw)
+ {grid;w:100dvw}@supported
@supports (display:grid) and (width:100dvw) {
    .\{grid\;w\:100dvw\}\@supported {
        display: grid;
        width: 100dvw;
    }
}
@1aron 1aron added the feature New feature label Dec 27, 2023
@1aron 1aron added this to the 2.X milestone Dec 27, 2023
@1aron 1aron changed the title ✨ Shorthand for whether declarations are supported @supported shorthand for whether declarations are supported Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant