JSFiddle - React, Tailwind, and code Playground

by dandclark_msft

HTML

<style>
@supports selector(div::part(test)) {
    div {
        background-color: blue;
    };
}

@supports not selector(div::part(test)) {
    div {
        background-color: red;
    };
}
</style>
<body>
    <div>Blue if supported, red if not supported</div>
</body>