I'm using SVG for my footer background. Here's my code:
#footer-bg {
background-image: url("/assets/main-bg.svg#svgView(viewBox(2,0,590,700))");
background-size: 100% 100%;
background-repeat: no-repeat;
}
This is working in all browsers except Safari, and the culprit is the SVG identifier #svgView(viewBox(2,0,590,700))
. When I tried to put the viewbox inside SVG file, it is working in Safari.
Is there a way to fix this?