DEV Community

Discussion on: The secret that the fonts industry doesn't want you to know

Collapse
 
vuild profile image
Vuild

Excellent explanation & example. Is the camelCase essential?

I wish SVG & CSS syntax was the same where possible.

Collapse
 
xowap profile image
Rémy 🤖

Thanks!

Apparently CSS syntax is case-insensitive for these things, so you could write currentcolor if you prefer. I have not tested it thoroughly though.

Collapse
 
vuild profile image
Vuild

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).