Chrome not rendering SVG referenced via

后端 未结 21 1619
孤独总比滥情好
孤独总比滥情好 2020-11-29 02:35

I am having issues with google chrome not rendering svg with an img tag. This happens when refreshing the page and initial page load. I can get the image to show up by \"

21条回答
  •  自闭症患者
    2020-11-29 03:20

    Use instead (of course, replace each URL with your own):

    .BackgroundImage {
            background: url('https://upload.wikimedia.org/wikipedia/commons/b/bd/Test.svg') no-repeat scroll left top;
            width: 400px;
            height: 600px;
    }
    
    
    
        SVG Test
    
    
        
    Your browser does not support SVG.

    提交回复
    热议问题