“Como fazer um SVG de largura total de uma página da web html” Respostas de código

Como fazer um SVG de largura total de uma página da web html

<body style="height: 100%">
  <div id="content" style="width: 100%; height: 100%">
    <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
         width="100%" height="100%"
         viewBox="0 0 1024 768"
         preserveAspectRatio="xMidYMid meet">
      ...
    </svg>
  </div>
</body>
Horrible Hoopoe

Como fazer um SVG de largura total de uma página da web html

html, body { margin:0; padding:0; overflow:hidden }
svg { position:fixed; top:0; bottom:0; left:0; right:0 }
Horrible Hoopoe

Como fazer um SVG de largura total de uma página da web html

html, body { margin:0; padding:0; overflow:hidden }
svg { position:fixed; top:0; left:0; height:100%; width:100% }
Horrible Hoopoe

Respostas semelhantes a “Como fazer um SVG de largura total de uma página da web html”

Perguntas semelhantes a “Como fazer um SVG de largura total de uma página da web html”

Mais respostas relacionadas para “Como fazer um SVG de largura total de uma página da web html” em HTML

Procure respostas de código populares por idioma

Procurar outros idiomas de código