mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

361K
active users

Ana Tudor 🐯

gotcha:

drop-shadow(2px 2px 5px var(--c))

has the SVG equivalent

<feDropShadow dx='2' dy='2' stdDeviation='5' flood-color='var(--c)'/>

But changing `--c` on one of the elements the SVG is applied on doesn't change the filter result!

The @codepen demo:
codepen.io/thebabydino/pen/ZYE

uses the --c value set on the div it's applied to, one uses the --c value set upstream from it on the body.

This means we need different SVG filters for different flood-color values. 😭

There are workarounds - stay tuned! 😼

codepen.ioSVG filter gotcha...

So this little thing got featured on @codepen 😼