I'm pretty sure that's the only way to do it. If there is a different way, @danfreedman might know.
-
-
-
window.CSS.supports('box-shadow: 0 0 0 var(--foo') in JS or
@supports() that string in CSS is my go-to. - 2 more replies
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Are you talking about browser support or support inside JS?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 