@supports CSS rule


it is possible to add Media-Queries for CSS-Rules in the CSS editor.

But is it also possible to add @supports Rules?

Thanks for your help!

Cheers, Fabian

Not a expert but I know that you cannot "nest" css in a .css file.

You can use it in the Sass Compiler .scss though....


@supports not (display: grid) { body { display: none; } }

I ran into a similar problem with trying to add a CSS animation and not being able to add the @keyframes rule.

My solution... I added a custom code element to the page, and then put the CSS in via <style> </style>