3 ms·
Nope, gifs only support binary transparency (transparent or opaque). APNG would let you do frosted glass though. And I was expecting to add "but support is dir
by masklinn 3y ago
Nope, gifs only support binary transparency (transparent or opaque).
APNG would let you do frosted glass though. And I was expecting to add "but support is dire" but... actually it's not so bad? https://caniuse.com/?search=apng https://caniuse.com/?search=apng says 97%, only browsers with no support are legacy (IE and Opera mini), pretty much all browsers have supported it for years.
WebP and AVIF also have animation and alpha channel support, so these are also options.
Caveat emptor though, I don't have much experience with animation and alpha on any of these formats, so I don't know how buggy support is.