Skip to content

@supported shorthand for whether declarations are supported #320

@1aron

Description

@1aron

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;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions