首页 > 代码库 > [CSS] Conditionally Apply Styles Using Feature Queries @supports

[CSS] Conditionally Apply Styles Using Feature Queries @supports

While browsers do a great job of ignoring styles they don’t understand, it can be useful to provide different sets of styles depending on a browser’s support for them. Learn how to use CSS feature queries without JavaScript.

 

 

 

<iframe style="width: 100%; height: 500px;" src="https://embed.plnkr.co/D89qkUR0v13r1fW04FdX/" width="320" height="240"></iframe>

[CSS] Conditionally Apply Styles Using Feature Queries @supports