Forums

Give help. Get help.

  • # February 23, 2018 at 7:32 am

    In my codepen example I have two svgs.

    I want to move all the defs into separate svg tag like so:

    <svg>
     <defs>
      <pattern id="a" ......... />
      <pattern id="b" ......... />
     </defs>
    </svg>
    

    and in the tags to do:

    <svg>
     <path fill="url(#a)" d="M................................. />
    </svg>
    
    <svg>
     <path fill="url(#b)" d="M................................. />
    </svg>
    

    The problem is the image is not fill right.

    So how to do that?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag