Skip to content

i want add new svg,but it does't show #20

Open

Description

@zjc

hi,
i add a new svg to show regular pentagon,but it does’t show
shape_7svg.txt

Activity

  1. alanelias commented on May 9, 2016

    @alanelias

    Make sure you have the size attr on the svg main tag:

    <svg ..... width="96px" height="96px"> </svg>

    And also add your styles inline into path tag:

    <path .... style="fill:#000000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    .... />

    Note: if you are using Illustrator and you wanna save svg before you doing that select all your vector and press (CMD + 8) to convert to path and then you can clean the vector by object > path > Clean Up

    I hope it will help you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions