Using SVG as background image

后端 未结 5 846
忘掉有多难
忘掉有多难 2020-12-12 20:55

I can\'t seem to get this to work as desired. My page changes height based on what content is loaded and if it requires a scroll, the svg doesn\'t seem to be stretching...

5条回答
  •  感动是毒
    2020-12-12 21:28

    You have set a fixed width and height in your svg tag. This is probably the root of your problem. Try not removing those and set the width and height (if needed) using CSS instead.

提交回复
热议问题