SVG DataURI in CSS not working in Firefox

前端 未结 2 897
南旧
南旧 2021-01-23 12:12
body {
  background: url(\"data:image/svg+xml;utf8,

        
2条回答
  •  隐瞒了意图╮
    2021-01-23 12:49

    Firefox doesn't like the # in your data URL. Replace all the hashes with %23.

    body {
      background: url("data:image/svg+xml;utf8,") 50% 50% repeat transparent;
    }

提交回复
热议问题