Change SVG bounding box position - HTML CSS SVG

HTML CSS examples for SVG:Circle

Description

Change SVG bounding box position

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
 </head> <!--from  ww w  . ja  v  a2  s . c om-->
 <body> 
  <svg width="500" height="500"> 
   <circle r="100" fill="red" transform="translate(150,150)"></circle> 
   <rect x="-25" y="-25" width="50" height="50" fill="green" transform="translate(150,150)"> 
   </rect> 
  </svg>  
 </body>
</html>

Related Tutorials