Viewbox For Svg. It can also be used on the elements symbol marker pattern and view. 4 values separated by white space or.
The SVG viewport is similar to the viewport of the browser youre viewing this page through. This is a free version of CSS3 Master Series. In the above example the SVG view box is same as view port with side length of 100.
Think of the viewBox as the image itself because you can zoom it slide it leftrightupdown all within the viewPort.
ViewBox300 66 720 432 Is there a method to reset the viewbox. The viewport is the viewing area where the SVG will be visible. In conjunction with the preserveAspectRatio attribute it provides the capability to stretch an SVG viewport to fit a particular container element. The inner SVG has a view box with side length of 100.