Unknow Property – CSS - by lens-scape

This topic has 2 replies, 2 voices, and was last updated 4 years, 10 months ago ago by Olga Barlow

  • Avatar: lens-scape
    lens-scape
    Participant
    June 24, 2019 at 13:25

    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

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 24, 2019 at 13:53

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.