2 ms·
I was trying to do something like, @supports (clip-path: inset(0 50px 0 50px)) { selector { clip-path: inset(0 5px 0 50px); } } wh
by ezekg 10y ago
I was trying to do something like,
@supports (clip-path: inset(0 50px 0 50px)) {
selector {
clip-path: inset(0 5px 0 50px);
}
}
where the clip path was animated. The @supports block would run, but the clip-path property would give an invalid property error. There was additional code within the @supports block related to displaying the animation. I ended up having to detect FF so that I could disable it, since it behaved differently than Chrome/Safari which use the webkit prefix.