5 ms·
I've been wanting to use these in some of my CSS, but I had never considered the case where a browser supports a feature, but doesn't support `@supports`. My b
by dlbucci 10y ago
I've been wanting to use these in some of my CSS, but I had never considered the case where a browser supports a feature, but doesn't support `@supports`. My best guess is you'd need a three stage CSS file to support that: first, use the new feature, then `@supports not` the backup code, then `@supports` the new feature. Maybe I won't be using this for a while...
- talmand 10y agoNo, you set default properties on your element. Then you have @supports to enhance that element if the properties you wish to use are supported. It's a far better solution than the silly hacks we had to do before.