Excellent explanation & example. Is the camelCase essential?
I wish SVG & CSS syntax was the same where possible.
Apparently CSS syntax is case-insensitive for these things, so you could write currentcolor if you prefer. I have not tested it thoroughly though.
Thanks, I'll add the same technique to my site as well shortly & test it. I like the split svg thing.
Thanks to Lea too (so many times).
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.