Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 296 Bytes

SVG.md

File metadata and controls

5 lines (5 loc) · 296 Bytes

How to use SVG?

There are two ways of using SVG:

  • Just import it or use background: url() in your css and it will be inserted as data URI
  • Call the svg file with "inline" suffix (i.e., "icon.inline.svg"), then import it and it will import optimized svg, which can be inserted to the DOM.