Example


<svg width="300px" height="200px" viewBox="0 0 1500 1000" preserveAspectRatio="none" version="1.1">
     <desc>Example ViewBox - uses the viewBox attribute to automatically create an initial user coordinate system which causes the graphic to scale to fit into the viewport no matter what size the viewport is.</desc>
     <rect x="0" y="0" width="1500" height="1000" fill="yellow" stroke="blue" stroke-width="12"/>
     <path fill="red" d="M 750,100 L 250,900 L 1250,900 z"/>
     <text x="100" y="600" font-size="200" font-family="Verdana"> Stretch to fit </text>
</svg>
Original SVG source