Can `@supports` be used to detect support for an at rule?

I want detect if the browser supports @starting-style. So i need something like:
@supports (@starting-style) {
/* ... */
}
@supports (@starting-style) {
/* ... */
}
What's the valid syntax for this? assuming there is one.
1 Reply
BlueBeka
BlueBekaOP13mo ago
@supports (transition-behavior: allow-discrete)
@supports (transition-behavior: allow-discrete)
Should do for me. Still don't know if it's possible to directly detect @starting-style
Want results from more Discord servers?
Add your server