{"id":254220,"date":"2017-05-03T13:30:11","date_gmt":"2017-05-03T20:30:11","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=254220"},"modified":"2020-12-15T07:45:07","modified_gmt":"2020-12-15T15:45:07","slug":"svg-patterns","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/snippets\/svg\/svg-patterns\/","title":{"rendered":"SVG Patterns"},"content":{"rendered":"\n
The SVG This is a collection of simple SVG shapes used as patterns. This list may grow over time but the idea is less to have a comprehensive collection than it is to have the syntax handy as a starting point for creating new and exciting patterns.<\/p>\n\n\n\n<pattern><\/code> element allows us to define patterns inside of our SVG markup and use those patterns as a
fill<\/code>. The basic process for patterns goes something like:<\/p>\n\n\n\n
<pattern><\/code> inside of the SVG<\/li>