Answers for "svg inline html"

13

using svg in html

<img src="image.svg" />
Posted by: Guest on July-28-2020
0

inline svg css

body { background-image: 
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'><linearGradient id='gradient'><stop offset='10%' stop-color='%23F00'/><stop offset='90%' stop-color='%23fcc'/> </linearGradient><rect fill='url(%23gradient)' x='0' y='0' width='100%' height='100%'/></svg>");
      }
Posted by: Guest on November-26-2021

Browse Popular Code Answers by Language