position a SVG image - HTML CSS SVG

HTML CSS examples for SVG:Image

Description

position a SVG image

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--   w  w w . j  a  va2 s  . c  o  m-->
 <body> 
  <svg version="1.1" width="100px" height="100px" viewbox="-8.6 -7.1 16 14"> 
   <path fill="blue" stroke-width="3" d="m 1.4407594,6.9494512 -3,-6 -4,0 -2,0 -1,-1 1,-1 2,0 4,0 3,-6 1,0 0,6 3,0 2,-3 0,8 0,0 -2,-3 -3,0 0,6 -1,0" /> 
  </svg>  
 </body>
</html>

Related Tutorials