Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

Render svg image directly using tags

$
0
0

What we are looking for is to render .svg image from CMS without using “img” tag. We want to render it inside “<svg>” tag

<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 50 50" style="enable-background:new 0 0 50 50;" xml:space="preserve" data-optly-63A20D95-AFEF-4B5F-A797-512600097889="">
<path d="M42.2,19.6c-0.1-0.1-0.3-0.1-0.5-0.1l-11.6,2.3l0.3-2.9l4.7-5.7c0.2-0.3,0.2-0.7-0.1-0.9c-0.3-0.2-0.7-0.2-0.9,0.1l-5.2,6.3
l-2.3-2.8l0.6-5.5c0-0.3-0.2-0.7-0.6-0.7c-0.3,0-0.7,0.2-0.7,0.6l-0.4,3.6l-1.3,0.3L23,13.7L22.4,11c-0.1-0.3-0.4-0.5-0.8-0.4
c-0.3,0.1-0.5,0.4-0.4,0.7l1.1,4.5L21.2,17l-6-2.7l-3.5-3.2c-0.3-0.2-0.7-0.2-0.9,0.1c-0.2,0.3-0.2,0.7,0.1,0.9l10.6,9.6l-3.2,1.9
" data-optly-63A20D95-AFEF-4B5F-A797-512600097889=""></path>
</svg>


Viewing all articles
Browse latest Browse all 8020

Trending Articles