Scaling an SVG

You are still setting the svg to width:100% and height:100% in the css.

html,
body,
svg {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

If you use 4 zeros then it will be zero I believe without the CSS,

Have a good read here:

I don’t know what the intrinsic ratio of that image is. If you made it then you should know what to set?

1 Like