This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago ago by Olga Barlow
Hey,
Is it possible to use the properties “stroke”, “fill” and others in CSS for SVGs? Because I only get shown “Unknown property”.
Regards
Joey
Hello,
Please, take into account that we are theme developers, not CSS teachers. Our support helps with questions related to theme options/bugs.
Read docs to get detailed information about your question
The SVG specification decides strictly between attributes that are properties and other attributes. The former can be modified with CSS, the latter not.
https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Fills_and_Strokes#Using_CSS
Regards
You must be logged in to reply to this topic.Log in/Sign up