Skip to main content

Passing Data into SVG Linked Parameters Workaround

I wanted to share this link for a while. I do not know if I will be able to use it in the future, but I am hoping that someone else will find it inspiring.

Sometimes, something new interacts with one of these older ideas and leads to something interesting. This article is about one such case: a hacky technique that allows us to pass some data from CSS to SVG and use it to adjust colors or almost anything else.