UI Deploy

Curated, Short, Web UI Dev we Love.

SVG Viewport and View Box

The viewport and view box of an SVG image set the dimensions of the visible part of the image.

The Viewport

The viewport is the visible area of the SVG image. An SVG image can logically be as wide and high as you want, but only a certain part of the image can be visible at a time. The area that is visible is called the viewport.

view source

Advertisement