mozilla
Your Search Results

    stroke Redirect 2

    « SVG Attribute reference home

    the stroke attribute is a presentation attribute that define the color of the outline of the given graphical element. The default value for the stroke attribute is none which means that the outline is never drawn.

    As a presentation attribute, it also can be used as a property directly inside a CSS stylesheet

    Usage context

    Categories Presentation attribute
    Value <paint>
    Animatable Yes
    Normative document SVG 1.1 (2nd Edition)

    Example

    Elements

    The following elements can use the stroke attribute

    Document Tags and Contributors

    Contributors to this page: Jeremie
    Last updated by: Jeremie,