CSS Feature Queries

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • @supports [condition] { /* CSS rules to apply */ }

Parameters

ParameterDetails
(property: value)Evaluates true if the browser can handle the CSS rule. The parenthesis around the rule are required.
andReturns true only if both the previous and next conditions are true.
notNegates the next condition
orReturns true if either the previous or next condition is true.
(...)Groups conditions

Remarks

Feature detection using @supports is supported in Edge, Chrome, Firefox, Opera, and Safari 9 and up.



Got any CSS Question?