@supports for Feature Queries in CSS


Detect if CSS features are supported and apply styles conditionally.

Source Code

@supports (display: grid) {
    .grid {
        display: grid;
    }
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments