4 ms·
That's a "feature" of SVGs. The image is an SVG and since they are transparent it goes dark when switching.
by Tokelin 6y ago
That's a "feature" of SVGs. The image is an SVG and since they are transparent it goes dark when switching.
- mfsch 6y agoIt’s not just that the image is transparent though, because the color of the text changes too. I thought perhaps it’s using the site CSS to style SVG elements (which appears to be possible, though I haven’t tried it), but it turns out it’s just a CSS filter `invert(83%) hue-rotate(180deg)`. Still, it looks great and I’m impressed by the attention to detail.
- Tokelin 6y agoAh, serves me right for not seeing it myself and assuming it was just the background. Thanks for the additional info.