<svg width = "100" height = "100"> <rect width = "100" height = "100" /> </svg> code example
Example: css svg width 100%
<svg height="100%" width="100%" viewBox="0 0 100 100" preserveAspectRatio="none">
<path d="M0 0 L100 0 L50 100 Z" />
</svg>