Svg map not working if I save it .html - html

<svg xmlns="http:/www.w3.org/2000/svg" version="1.1" viewBox="0 0 462.22 473.42">
<g
transform="translate(-140.31946,-267.08233)">
<clipPath
id="img">
<path
style="fill:#cccccc;fill-opacity:1;stroke:#ffffff;stroke-width:0.5;stroke-opacity:1"
inkscape:connector-curvature="0"
d="m 164.84,522.87 0.11,0.44 1.2,1.23 1.14,0.03 2.18,0.85 1.25,-0.2 1.87,-1.43 0.73,-0.13 1.15,0.06 0.44,0.49 1.07,0.01 0.72,-0.56 1.34,0.46 1.3,1.66 0.43,3.08 1.11,0.53 -0.73,2 0.31,0.44 0.75,-0.43 2.12,0.49 0.38,-0.41 0.08,-1.14 0.5,-0.65 1.15,0.02 0.95,-0.98 1.4,-0.6 0.35,0.14 1.03,-0.31 0.34,1.32 3.17,0.61 0.54,-0.61 1.37,-0.08 0.37,-0.9 1.36,-0.97 0.96,-0.04 1.82,-0.88 1.32,-1.82 1.02,-0.33 0.78,0.08 0.9,0.77 1.68,0.43 1.53,1.59 0.56,0.03 0.44,1.16 0.64,0.05 0.76,1.3 1.11,-0.38 1.98,1.3 1.06,-0.19 1.55,-1.16 1.19,0.19 1.42,1.41 0.07,0.65 -0.46,1.06 -0.88,0.44 -0.59,0.89 0.04,1.45 -0.39,1.05 0.55,0.92 1.27,-0.23 1.82,1.1 0.57,-0.14 0.86,0.29 1.19,-0.73 -0.03,-0.84 -0.59,0.44 -0.61,-0.27 -0.39,-1.27 1.54,0.16 -0.51,-1.37 0.76,-0.87 1.17,-0.57 1.82,0.38 1.75,-0.45 0.85,-0.57 1.24,0.37 1.64,-0.73 1.19,0.33 0.45,1.49 1.63,0.27 1.39,-0.51 1.06,0.18 1.41,-0.41 1.73,-0.02 1.05,-0.56 0,0 0.73,2.16 1.58,0.07 0.44,-0.1 1.09,-1.33 -0.15,-0.73 0.49,-0.29 0.74,0.15 -0.19,2.49 -0.71,0.41 -0.18,0.46 0.06,1.8 -1.56,1.65 0.06,0.37 0.66,0.5 -0.07,0.59 0.49,0.3 0.25,0.62 1.89,1.42 2.04,1.03 1.18,-0.31 0.43,0.37 1.39,-0.26 0.4,0.22 0.91,1.85 -0.28,1.03 0.23,0.58 1.65,1.36 1.06,0.05 0.7,0.38 0.2,0.61 -0.2,0.86 1.4,-0.2 1.31,1.42 0.63,0.13 0.23,0.32 0,0 -0.47,0.57 -3.32,1.69 0.56,0.84 -0.7,0.86 -0.38,1.77 0.31,0.39 0.92,0.27 0.53,0.76 -0.22,0.87 -1.27,0.38 -2.71,1.63 -1.54,-0.19 -0.74,0.36 -1.49,1.87 -0.19,1.09 -0.86,0.24 -1.16,1.08 0.38,0.88 -0.99,0.92 -0.77,1.43 0.42,0.85 -0.5,0.52 0.53,0.53 -2.59,1.57 0.2,0.81 -0.26,0.64 -0.78,-1.33 0.03,-0.43 -0.94,-1.14 -0.87,-0.41 0.04,-0.73 -1.18,0.25 -1.93,-0.31 -0.5,0.45 -1.03,-0.4 -0.58,0.8 -0.57,0.01 -1.58,2.17 0.61,0.66 0.7,0.2 -0.52,0.44 0.46,0.77 -0.67,0.72 0.49,1.81 -1.88,1.12 -1.39,2.33 -0.63,-0.35 -0.48,0.21 -0.6,-0.17 -1.12,0.77 -2.53,0.25 0.61,0.55 -0.73,1.44 1.02,0.58 0.17,0.39 -0.66,1.1 0.09,0.83 -0.46,1.72 0.28,0.89 -0.59,1.39 -1.88,-0.39 -1.41,0.55 -0.53,0.69 -0.9,0.02 -0.85,0.82 -0.78,1.72 0.7,0.56 0.75,0.14 0.32,0.69 0.66,0.1 0.03,0.62 0.37,0.22 -1.37,0.43 -0.94,1.87 -0.57,0.31 -0.76,-0.05 -1.26,0.77 0.05,0.83 -0.74,1.28 0.17,2.6 2.44,1.43 1.28,1.87 -0.14,1 -0.52,0.29 -0.05,0.93 0.73,0.39 0.15,0.8 -0.59,0.83 -1.21,0.43 -0.34,1.75 -0.34,0.37 1.65,1.48 0.96,2.58 -0.13,1.8 0.53,2.61 -0.44,0.39 -1.34,0.15 0,0 -1.29,-0.28 -0.52,0.23 -0.52,-0.34 0,0 -0.08,-1.97 -1.13,-1.56 -0.32,-1.52 -1.12,-0.56 -1.37,-1.84 -1.42,0.11 0.02,-0.67 -0.43,-0.55 0.01,-0.92 -0.32,-0.42 -1.16,0.17 -0.75,-0.56 -1.03,0.27 -0.45,-0.57 -1.5,-0.3 -0.42,-1.05 0.42,-0.86 -0.25,-0.53 0.34,-1.02 -1.99,-0.45 -0.67,-0.93 2.15,-3.09 -0.84,-1.21 -2.35,-1.52 -0.47,-0.75 0.53,-2.37 0.78,-1.57 -0.54,-1.26 -1.5,-0.86 -0.3,-0.95 0.13,-0.89 -0.72,-2.3 -0.47,-0.49 -0.41,-2.54 0.55,-1.53 0.04,-1.33 -1.68,-2.95 -0.75,-0.46 -0.34,0.14 -1.57,-1.25 -1.1,-3.81 -0.64,-0.95 -0.39,-1.37 -1.25,-1.38 0.17,-1.45 0.33,-0.38 -1.25,-0.25 -0.96,0.88 -0.79,0.04 -0.19,-0.13 0.15,-0.48 -0.9,-0.05 -0.17,-0.61 -0.72,-0.13 -0.24,-0.41 -1.57,0.3 -0.76,-0.46 -0.44,0.14 -0.05,-0.8 -0.75,-0.02 -0.07,-2.24 -0.61,-0.42 0.35,-0.18 0.42,-1.17 -1.05,-1.57 0.02,-1.71 -0.98,-0.79 1.02,-0.29 0.27,-0.39 1.05,0.79 0.31,-0.17 -0.51,-2.42 0.17,-1.41 -1.09,-0.68 -0.31,0.19 0.12,-0.61 -0.37,-0.1 -1.05,-1.29 -0.33,-0.01 -0.89,0.77 -0.32,-0.2 -0.12,-0.68 -1.05,-0.23 -0.71,0.22 -1.07,-0.99 -1.05,-1.97 -0.82,-0.77 -0.06,-0.75 -0.4,-0.51 0.95,-1.39 -0.04,-0.41 -1.32,-1.54 -0.48,-1.11 -0.07,-1.3 -1.17,-0.38 -2.3,0.23 -0.78,0.52 -0.99,-0.5 -2.61,0.38 -0.81,-1.16 -1.1,-0.45 -0.17,-0.69 -1.63,-0.17 0,0 -0.43,0 -1.11,-0.91 -1.84,-0.11 -0.21,-1.41 -0.86,-0.58 0,0 -0.48,-1.34 -0.42,-2.96 1.07,-1.26 0.33,-0.8 -1.27,-2.99 0.05,-0.64 0.37,-0.32 -0.27,-0.9 0.07,-1.68 2.07,-1.9 0.35,-0.14 0.42,0.48 0.2,-0.62 -0.5,-0.67 -0.68,0.06 -0.66,-0.53 0.04,-1.21 1.22,-0.95 0.6,-0.85 1.28,-0.45 0.44,0.86 0.87,0.61 2.25,0.71 z"
class="land"
title="Alba"
id="RO-AB" />
<image xlink:href="ana.jpg" clip-path="url(#img)" x="0" y="0" height="50px" width="50px"/>
</clipPath>
</g>
</svg>
Why is this code now working if i save it like a html document? Please help me . I am very new in svg so do not be rude with me :)

Related

SVG inside HTML doesn't apply basic CSS

Trying to make a basic map with hovering areas - using SVG.
I cant understand why SVG (inside html) isn't reacting to basic CSS, tried hovering paths, then just changing color - but none work. I cant find why.
SVG elements react only if the code is applied directly in html style.
.p1-pos {max-width: 50rem; margin: auto}
path {fill: rgb(93, 93, 131)}
path:hover {fill: bisque}
<div class="p1-pos">
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 184.13573 153.7863"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="ten.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="353.68731"
inkscape:cy="296.33408"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
units="px"
inkscape:window-width="993"
inkscape:window-height="727"
inkscape:window-x="2239"
inkscape:window-y="83"
inkscape:window-maximized="0" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-12.253565,-73.452084)">
<g
transform="translate(-3.4347496,-8.6454107)"
id="layer1-1"
inkscape:label="Layer 1">
<path
style="fill:none;stroke:#101010;stroke-width:2.79112649;stroke-miterlimit:10"
inkscape:connector-curvature="0"
stroke-miterlimit="10"
d="m 29.637126,160.10752 c -2.014139,-3.34132 -4.07245,-3.76035 -4.229412,-6.0628 -0.156934,-2.30245 -1.48781,-4.06796 -2.976562,-5.52587 -1.488753,-1.45791 -0.468996,-1.07478 -2.270722,-2.91675 -1.801733,-1.84194 -5.24729,-2.83936 -1.17484,-4.6813 4.072454,-1.84197 8.85075,-3.30079 11.591408,-5.2192 2.740656,-1.9184 3.524505,-3.22341 5.169276,-2.6865 1.644771,0.53691 3.759477,3.60745 9.55565,4.29821 5.79617,0.69074 11.278423,0.84457 15.585846,-0.99741 4.307419,-1.84198 8.615773,-4.52846 13.158175,-4.45109 4.54238,0.0773 12.375238,1.7655 16.05578,0.92097 3.68051,-0.84451 8.92969,-4.98895 11.827305,-5.83347 2.89761,-0.84453 9.24267,-0.38314 11.20042,-2.3789 1.95775,-1.99574 7.51897,-5.67964 7.51897,-5.67964 0,0 2.4286,-2.07222 3.68145,-3.37724 1.25286,-1.30506 3.99445,-5.06539 5.87416,-6.90734 1.87976,-1.84194 3.68054,-4.37465 3.68054,-6.75355 0,-2.378849 3.68149,-7.213996 6.26612,-8.212356 2.58461,-0.998309 8.06782,-1.151183 10.26054,-2.839351 2.19273,-1.688169 3.2886,-2.302429 3.75855,-4.220837 0.46993,-1.918408 4.38541,-2.840324 6.81403,-1.305043 2.42864,1.535269 7.59696,0.153887 10.10362,0.767174 2.50662,0.613366 6.89299,3.377232 12.06227,0.997452 5.16928,-2.379833 4.46437,-3.377246 7.04901,-3.530108 2.58464,-0.152757 6.65803,0.613353 7.59788,3.760334 0.93989,3.146967 1.48691,6.830909 -3.36845,9.670272 -4.85538,2.839379 -7.67499,5.833473 -10.02466,6.830893 -2.3497,0.99738 -9.86862,1.9184 -10.96545,5.14181 -1.09684,3.22342 -1.40886,5.44943 -4.77736,7.21403 -3.3685,1.76458 -8.53776,7.29137 -10.26057,9.74671 -1.72278,2.45534 -2.50566,2.83937 -5.95216,4.14438 -3.44652,1.30506 -6.65805,2.68651 -7.83287,7.52163 -1.17486,4.83517 -1.72371,6.83091 -0.70492,8.97954 1.01882,2.14862 2.03576,3.83772 1.40982,6.29304 -0.62595,2.45533 -5.48321,5.75611 -5.6392,8.05855 -0.15598,2.30246 -3.05364,8.21146 -4.62039,11.51222 -1.56678,3.30079 -5.63923,8.28879 -5.7962,12.66346 -0.15693,4.37465 0.54793,10.36191 -2.50663,13.20127 -3.05458,2.8394 -12.53128,14.27425 -15.11593,16.73049 -2.58462,2.45627 -7.44092,7.21406 -8.77177,9.28625 -1.33085,2.07218 -3.289555,2.37888 -8.223855,2.53267 -4.934322,0.15388 -8.14585,0.69076 -11.435389,3.22342 -3.289553,2.5327 -3.05457,2.07224 -5.326249,2.226 -2.271666,0.15389 -4.229413,0.61338 -6.65709,1.91841 -2.42768,1.30502 -5.091273,-1.53435 -5.247292,-2.91581 -0.155982,-1.38148 0.391935,-7.44426 -0.704889,-9.2098 -1.096843,-1.76549 -5.795242,-1.68905 -5.952196,-5.60321 -0.156973,-3.91417 0.391923,-4.37375 -5.247292,-10.05339 -5.639212,-5.6797 -10.80849,-10.59034 -11.043459,-14.12137 -0.234983,-3.53101 -2.506632,-7.21402 -4.542385,-8.97954 -2.035759,-1.7655 -4.307421,-5.67965 -3.994443,-8.44259 0.312989,-2.76293 2.506627,-7.06206 0.469931,-9.28716 -2.036695,-2.22505 -4.309295,-3.75848 -5.328116,-5.44756 z"
id="path20" />
<a xlink:href="http://svgtutorial.com/styling-svg-with-css/">
<path
sodipodi:nodetypes="ccccccccccccsccccccccc"
inkscape:connector-curvature="0"
id="path42"
d="m 21.069671,142.60696 8.744703,-2.69068 4.93291,-3.36335 4.26024,2.46646 5.157133,1.34534 9.417372,0.89689 7.175141,-0.89689 11.211157,-4.93291 13.677614,1.12111 6.950919,-0.67267 10.09004,-4.70868 20.40431,4.93291 c 0,0 -69.060736,63.9036 -69.957628,63.9036 -0.896893,0 -6.278248,-6.7267 -6.278248,-6.7267 l -2.242232,-7.17514 -5.605578,-7.39936 -1.345339,-3.36335 1.121115,-8.29626 -3.363347,-5.38135 -6.950918,-7.84782 -3.363347,-7.62358 z"
style="fill:#ffccaa;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</a>
<path
sodipodi:nodetypes="ccccccccccccccccccscccc"
inkscape:connector-curvature="0"
id="path44"
d="m 60.757172,197.54164 65.159788,-59.83247 13.99099,11.40026 2.018,3.81179 -3.58757,2.46646 -1.79378,5.60558 -4.26024,10.76271 -5.15713,7.84781 -1.12112,4.03602 -0.22422,10.76271 -23.99188,25.78566 -1.34534,2.01801 -7.175141,1.56956 -6.950919,0.67267 -6.054024,4.03602 -5.605579,0.44845 -3.363348,1.56956 h -1.121117 c 0,0 -0.672668,-9.6416 -1.121113,-10.76271 -0.448448,-1.12112 -5.605582,-3.58757 -5.605582,-3.58757 l -1.121114,-6.05403 -6.726696,-7.84781 z"
style="fill:#ffccaa;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccccccccccccccccccccccccc"
inkscape:connector-curvature="0"
id="path46"
d="m 108.56809,130.60168 16.43433,3.5916 6.817,4.33877 8.0516,7.09367 2.04559,-11.71675 3.5829,-5.23655 7.71702,-2.75607 9.37065,-10.19748 6.61459,-3.85851 1.92925,-7.44141 11.57552,-3.8585 11.57552,-7.992626 -1.10243,-4.68533 -1.65364,-0.826823 -6.61459,3.307292 -6.61458,0.826823 -6.89019,-1.653646 h -6.06337 l -7.1658,-1.653646 h -0.55121 l -3.85851,4.68533 -10.47309,4.409722 v 0 l -4.73981,2.135419 -0.77707,5.588685 -6.6079,7.92007 -10.99554,11.06377 z"
style="fill:#ffccaa;stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>
</div>
If you only want to change the fills, just remove them from the html source and do wath you want in the css code like this.
.p1-pos {max-width: 50rem; margin: auto}
path {fill: rgb(93, 93, 131)}
path:hover {fill: bisque}
<div class="p1-pos">
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 184.13573 153.7863"
version="1.1"
id="svg8"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
sodipodi:docname="ten.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="353.68731"
inkscape:cy="296.33408"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
units="px"
inkscape:window-width="993"
inkscape:window-height="727"
inkscape:window-x="2239"
inkscape:window-y="83"
inkscape:window-maximized="0" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-12.253565,-73.452084)">
<g
transform="translate(-3.4347496,-8.6454107)"
id="layer1-1"
inkscape:label="Layer 1">
<path
style="fill:none;stroke:#101010;stroke-width:2.79112649;stroke-miterlimit:10"
inkscape:connector-curvature="0"
stroke-miterlimit="10"
d="m 29.637126,160.10752 c -2.014139,-3.34132 -4.07245,-3.76035 -4.229412,-6.0628 -0.156934,-2.30245 -1.48781,-4.06796 -2.976562,-5.52587 -1.488753,-1.45791 -0.468996,-1.07478 -2.270722,-2.91675 -1.801733,-1.84194 -5.24729,-2.83936 -1.17484,-4.6813 4.072454,-1.84197 8.85075,-3.30079 11.591408,-5.2192 2.740656,-1.9184 3.524505,-3.22341 5.169276,-2.6865 1.644771,0.53691 3.759477,3.60745 9.55565,4.29821 5.79617,0.69074 11.278423,0.84457 15.585846,-0.99741 4.307419,-1.84198 8.615773,-4.52846 13.158175,-4.45109 4.54238,0.0773 12.375238,1.7655 16.05578,0.92097 3.68051,-0.84451 8.92969,-4.98895 11.827305,-5.83347 2.89761,-0.84453 9.24267,-0.38314 11.20042,-2.3789 1.95775,-1.99574 7.51897,-5.67964 7.51897,-5.67964 0,0 2.4286,-2.07222 3.68145,-3.37724 1.25286,-1.30506 3.99445,-5.06539 5.87416,-6.90734 1.87976,-1.84194 3.68054,-4.37465 3.68054,-6.75355 0,-2.378849 3.68149,-7.213996 6.26612,-8.212356 2.58461,-0.998309 8.06782,-1.151183 10.26054,-2.839351 2.19273,-1.688169 3.2886,-2.302429 3.75855,-4.220837 0.46993,-1.918408 4.38541,-2.840324 6.81403,-1.305043 2.42864,1.535269 7.59696,0.153887 10.10362,0.767174 2.50662,0.613366 6.89299,3.377232 12.06227,0.997452 5.16928,-2.379833 4.46437,-3.377246 7.04901,-3.530108 2.58464,-0.152757 6.65803,0.613353 7.59788,3.760334 0.93989,3.146967 1.48691,6.830909 -3.36845,9.670272 -4.85538,2.839379 -7.67499,5.833473 -10.02466,6.830893 -2.3497,0.99738 -9.86862,1.9184 -10.96545,5.14181 -1.09684,3.22342 -1.40886,5.44943 -4.77736,7.21403 -3.3685,1.76458 -8.53776,7.29137 -10.26057,9.74671 -1.72278,2.45534 -2.50566,2.83937 -5.95216,4.14438 -3.44652,1.30506 -6.65805,2.68651 -7.83287,7.52163 -1.17486,4.83517 -1.72371,6.83091 -0.70492,8.97954 1.01882,2.14862 2.03576,3.83772 1.40982,6.29304 -0.62595,2.45533 -5.48321,5.75611 -5.6392,8.05855 -0.15598,2.30246 -3.05364,8.21146 -4.62039,11.51222 -1.56678,3.30079 -5.63923,8.28879 -5.7962,12.66346 -0.15693,4.37465 0.54793,10.36191 -2.50663,13.20127 -3.05458,2.8394 -12.53128,14.27425 -15.11593,16.73049 -2.58462,2.45627 -7.44092,7.21406 -8.77177,9.28625 -1.33085,2.07218 -3.289555,2.37888 -8.223855,2.53267 -4.934322,0.15388 -8.14585,0.69076 -11.435389,3.22342 -3.289553,2.5327 -3.05457,2.07224 -5.326249,2.226 -2.271666,0.15389 -4.229413,0.61338 -6.65709,1.91841 -2.42768,1.30502 -5.091273,-1.53435 -5.247292,-2.91581 -0.155982,-1.38148 0.391935,-7.44426 -0.704889,-9.2098 -1.096843,-1.76549 -5.795242,-1.68905 -5.952196,-5.60321 -0.156973,-3.91417 0.391923,-4.37375 -5.247292,-10.05339 -5.639212,-5.6797 -10.80849,-10.59034 -11.043459,-14.12137 -0.234983,-3.53101 -2.506632,-7.21402 -4.542385,-8.97954 -2.035759,-1.7655 -4.307421,-5.67965 -3.994443,-8.44259 0.312989,-2.76293 2.506627,-7.06206 0.469931,-9.28716 -2.036695,-2.22505 -4.309295,-3.75848 -5.328116,-5.44756 z"
id="path20" />
<a xlink:href="http://svgtutorial.com/styling-svg-with-css/">
<path
sodipodi:nodetypes="ccccccccccccsccccccccc"
inkscape:connector-curvature="0"
id="path42"
d="m 21.069671,142.60696 8.744703,-2.69068 4.93291,-3.36335 4.26024,2.46646 5.157133,1.34534 9.417372,0.89689 7.175141,-0.89689 11.211157,-4.93291 13.677614,1.12111 6.950919,-0.67267 10.09004,-4.70868 20.40431,4.93291 c 0,0 -69.060736,63.9036 -69.957628,63.9036 -0.896893,0 -6.278248,-6.7267 -6.278248,-6.7267 l -2.242232,-7.17514 -5.605578,-7.39936 -1.345339,-3.36335 1.121115,-8.29626 -3.363347,-5.38135 -6.950918,-7.84782 -3.363347,-7.62358 z"
style="stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</a>
<path
sodipodi:nodetypes="ccccccccccccccccccscccc"
inkscape:connector-curvature="0"
id="path44"
d="m 60.757172,197.54164 65.159788,-59.83247 13.99099,11.40026 2.018,3.81179 -3.58757,2.46646 -1.79378,5.60558 -4.26024,10.76271 -5.15713,7.84781 -1.12112,4.03602 -0.22422,10.76271 -23.99188,25.78566 -1.34534,2.01801 -7.175141,1.56956 -6.950919,0.67267 -6.054024,4.03602 -5.605579,0.44845 -3.363348,1.56956 h -1.121117 c 0,0 -0.672668,-9.6416 -1.121113,-10.76271 -0.448448,-1.12112 -5.605582,-3.58757 -5.605582,-3.58757 l -1.121114,-6.05403 -6.726696,-7.84781 z"
style="stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccccccccccccccccccccccccc"
inkscape:connector-curvature="0"
id="path46"
d="m 108.56809,130.60168 16.43433,3.5916 6.817,4.33877 8.0516,7.09367 2.04559,-11.71675 3.5829,-5.23655 7.71702,-2.75607 9.37065,-10.19748 6.61459,-3.85851 1.92925,-7.44141 11.57552,-3.8585 11.57552,-7.992626 -1.10243,-4.68533 -1.65364,-0.826823 -6.61459,3.307292 -6.61458,0.826823 -6.89019,-1.653646 h -6.06337 l -7.1658,-1.653646 h -0.55121 l -3.85851,4.68533 -10.47309,4.409722 v 0 l -4.73981,2.135419 -0.77707,5.588685 -6.6079,7.92007 -10.99554,11.06377 z"
style="stroke:#000000;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</g>
</svg>
</div>

SVG element aligns center in Chrome browser but it should align to the right

I have svg elements that is positioned to the right. This alignment works fine in Firefox but when I open my webpage in Chrome browser the SVG element is positioned at the center of a section.
<html>
<svg style="position:absolute;right:0;" width="auto" height="120%" viewBox="0 0 116 253" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0)">
<path d="M59.1636 98.0787C48.2396 99.6774 44.5051 100.519 34.7033 106.062C24.9015 111.606 16.8079 119.731 11.3034 129.555C5.7989 139.379 3.0943 150.524 3.48398 161.778C3.87366 173.032 7.34269 183.963 13.5135 193.383C19.6844 202.802 28.3206 210.348 38.4823 215.201C48.6441 220.053 59.942 222.025 71.1466 220.902C82.3512 219.779 92.3976 216.622 101.394 209.85C110.391 203.078 111.786 201.191 118.313 188.935L119.315 181.351C115.345 191.285 108.726 199.94 100.179 206.373C91.6319 212.806 81.791 218.109 71.1466 219.176C60.5022 220.243 48.136 218.723 38.4823 214.113C28.8287 209.504 20.264 202.331 14.4017 193.383C8.53939 184.434 4.78037 172.469 4.41017 161.778C4.03997 151.087 6.07412 142.581 11.3034 133.249C16.5327 123.916 26.9068 114.008 36.2185 108.742C45.5303 103.475 56.108 100.864 66.8007 101.192L59.1636 98.0787Z" fill="#C4C4C4" fill-opacity="0.5"/>
<path d="M63.4178 41.2475C56.6489 43.02 50.6873 47.0487 46.518 52.668C42.3487 58.2872 40.2213 65.1608 40.4874 72.1528C40.7534 79.1448 43.3969 85.8369 47.9811 91.1231C52.5653 96.4094 59.3403 99.8898 66.2243 101.143L59.2968 98.2119C53.8348 95.0146 53.1124 94.5766 48.9866 89.819C44.8608 85.0614 42.4841 78.4456 42.2447 72.1528C42.0052 65.86 42.7656 59.573 46.518 54.5157C50.2703 49.4583 55.0699 45.7197 61.1619 44.1245L63.4178 41.2475Z" fill="#C4C4C4" fill-opacity="0.5"/>
<path d="M12.7873 92.5315C19.5273 100.432 23.0393 106.482 26.5414 114.654C25.2887 104.9 25.0264 97.7404 25.1272 92.7738C25.1724 90.5464 25.2907 88.7598 25.4254 87.3778C23.8135 89.2058 22.4806 90.2382 20.832 90.8877C19.681 91.3412 18.4161 91.5927 16.8924 91.8482C16.4992 91.9141 16.0869 91.9806 15.6507 92.0509C14.7991 92.1882 13.8564 92.3401 12.7873 92.5315Z" stroke="#C4C4C4" stroke-opacity="0.5" stroke-width="2"/>
<path d="M33.2938 68.7639C30.4436 64.512 28.6665 61.1848 26.1622 55.2208C23.7429 61.1064 22.0473 64.4274 19.3202 68.8562C22.1626 73.9448 23.8536 77.4954 26.0165 83.0088C26.9853 79.7262 27.7752 77.424 28.7285 75.4494C29.8636 73.0982 31.2145 71.2427 33.2938 68.7639Z" stroke="#C4C4C4" stroke-opacity="0.5" stroke-width="2"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="116" height="253" fill="white" transform="matrix(-1 0 0 1 116 0)"/>
</clipPath>
</defs>
</svg>
</html>
Try using this preserveAspectRatio="xMaxYMin meet"
<svg style="position:absolute;right:0;" width="auto" height="100%" viewBox="0 0 116 253" fill="none" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMaxYMin meet">
<g clip-path="url(#clip0)">
<path d="M59.1636 98.0787C48.2396 99.6774 44.5051 100.519 34.7033 106.062C24.9015 111.606 16.8079 119.731 11.3034 129.555C5.7989 139.379 3.0943 150.524 3.48398 161.778C3.87366 173.032 7.34269 183.963 13.5135 193.383C19.6844 202.802 28.3206 210.348 38.4823 215.201C48.6441 220.053 59.942 222.025 71.1466 220.902C82.3512 219.779 92.3976 216.622 101.394 209.85C110.391 203.078 111.786 201.191 118.313 188.935L119.315 181.351C115.345 191.285 108.726 199.94 100.179 206.373C91.6319 212.806 81.791 218.109 71.1466 219.176C60.5022 220.243 48.136 218.723 38.4823 214.113C28.8287 209.504 20.264 202.331 14.4017 193.383C8.53939 184.434 4.78037 172.469 4.41017 161.778C4.03997 151.087 6.07412 142.581 11.3034 133.249C16.5327 123.916 26.9068 114.008 36.2185 108.742C45.5303 103.475 56.108 100.864 66.8007 101.192L59.1636 98.0787Z" fill="#C4C4C4" fill-opacity="0.5"/>
<path d="M63.4178 41.2475C56.6489 43.02 50.6873 47.0487 46.518 52.668C42.3487 58.2872 40.2213 65.1608 40.4874 72.1528C40.7534 79.1448 43.3969 85.8369 47.9811 91.1231C52.5653 96.4094 59.3403 99.8898 66.2243 101.143L59.2968 98.2119C53.8348 95.0146 53.1124 94.5766 48.9866 89.819C44.8608 85.0614 42.4841 78.4456 42.2447 72.1528C42.0052 65.86 42.7656 59.573 46.518 54.5157C50.2703 49.4583 55.0699 45.7197 61.1619 44.1245L63.4178 41.2475Z" fill="#C4C4C4" fill-opacity="0.5"/>
<path d="M12.7873 92.5315C19.5273 100.432 23.0393 106.482 26.5414 114.654C25.2887 104.9 25.0264 97.7404 25.1272 92.7738C25.1724 90.5464 25.2907 88.7598 25.4254 87.3778C23.8135 89.2058 22.4806 90.2382 20.832 90.8877C19.681 91.3412 18.4161 91.5927 16.8924 91.8482C16.4992 91.9141 16.0869 91.9806 15.6507 92.0509C14.7991 92.1882 13.8564 92.3401 12.7873 92.5315Z" stroke="#C4C4C4" stroke-opacity="0.5" stroke-width="2"/>
<path d="M33.2938 68.7639C30.4436 64.512 28.6665 61.1848 26.1622 55.2208C23.7429 61.1064 22.0473 64.4274 19.3202 68.8562C22.1626 73.9448 23.8536 77.4954 26.0165 83.0088C26.9853 79.7262 27.7752 77.424 28.7285 75.4494C29.8636 73.0982 31.2145 71.2427 33.2938 68.7639Z" stroke="#C4C4C4" stroke-opacity="0.5" stroke-width="2"/>
</g>
<defs>
<clipPath id="clip0">
<rect width="116" height="253" fill="white" transform="matrix(-1 0 0 1 116 0)"/>
</clipPath>
</defs>
</svg>

html - images and svg elements

I'm working on an interactive map but can't put images on it.
The .svg map is developed on Inkscape, and is divided into districts.
I need to put images in these districts.
I wrote some code for this but it's only working in the Firefox browser. When i point with my mouse on this image the whole page starting to lag. In Opera and Chrome browsers this image is displayed in low resolution.
This part of the code from begining to this district on picture included:
<svg version="1.1" id="svg2" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 1771.6535
1771.6535" style="enable-background:new 0 0 1771.6535 1771.6535;" xml:space="preserve">
<defs>
<pattern id="img1" width="100" height="100" patternUnits="objectBoundingBox">
<image xlink:href="./Regions/Arbuzinka.png" x="-5%" y="-5%" width="30%" height="30%" />
</pattern>
</defs>
<a class="Arbuzinka" href="http://arbuzinkabib.tk">
<g
inkscape:groupmode="layer"
id="layer18"
inkscape:label="Арбузинка"
style="display:inline"
transform="translate(0,719.29131)">
<path
class="region"
d="m 629.95741,-565.91816 -8.12988,-0.12207 -0.0732,5.44434 -6.5918,-0.19532
-0.34179,8.44727 -4.68754,-0.0244 -0.1709,6.03027 -2.417,5.46875 1.001,10.4248
1.3183,5.78614 2.6368,19.09179 -6.2989,3.24707 0.708,11.18164 -67.1374,30.41936
-0.5006,20.95771 5.9731,2.90024 0.086,0.0345 -2.7967,12.74035 -11.1862,15.28424
-3.1616,2.51465 -2.1179,3.76587 3.1298,3.97637 -2.2326,19.18647 8.5855,17.2133
6.2925,6.95713 4.7647,3.50446 6.2972,0.34025 5.5664,9.79005 5.1514,13.35449
3.7598,7.56836 1.1718,3.51562 3.125,3.90625 2.5391,4.29688 -0.1953,1.95312 -1.3672,3.32032 -1.1719,3.90625 -1.3672,2.73437 -2.539,2.92969 -1.7578,4.10156
-0.586,1.95313 1.3672,1.75781 3.125,1.75781 2.5391,1.5625 2.9297,0.78125
3.9062,0.58594 2.3438,0 3.7109,0.58594 2.3438,1.17187 3.3203,1.36719 3.5156,2.14844
2.3437,1.75781 1.7579,0.68359 1.6601,1.85547 1.2695,0.68359 -0.3906,2.63672
-0.5859,3.51563 -0.6836,1.36719 -0.293,2.14843 0.7813,1.17188 0.9765,1.75781
2.5606,6.38337 0.6215,1.38107 0.6215,1.86444 0.2762,1.9335 c 0,0 0.2762,0.69053
0.1381,0.96675 -0.1381,0.27621 -0.5524,1.93349 -0.5524,1.93349 l 0.069,1.31202
-0.8977,1.86444 c 0,0 -0.1381,1.24296 -0.2071,1.58823 -0.069,0.34526 0.069,1.51917
0.069,1.79538 0,0.27622 0.069,0.82864 0.069,1.24297 0,0.41432 -0.2072,1.86444
-0.2072,1.86444 l -0.1192,2.92068 0.293,1.36719 -0.4883,1.75781 0,0.87891 0,1.46484
0.293,1.07422 0.6836,0.78125 1.3672,1.36719 c 0,0 0.8789,1.17187 1.0742,1.5625
0.1953,0.39062 0.7812,0.78125 0.8789,1.46484 0.098,0.6836 0.098,1.17188
0.098,1.17188 0,0 0.098,0.19531 0.3906,0.78125 0.293,0.58593 0.6836,1.36718
0.6836,1.36718 l 0.098,0.48829 8.00789,-1.07422 27.83203,-7.22657 -0.87891,-8.00781
-2.24609,-8.10547 3.80859,-0.58593 -0.0977,-4.88282 5.95703,-2.24609 0.97656,-
4.98047 2.24609,-2.05078 2.83204,3.61328 12.98828,29.88281 6.83593,-1.46484
3.61329,-2.05078 20.50781,-3.71094 12.5,-3.71094 -1.75781,-16.11328 0.92773,-3.36914
20.70313,-1.95312 1.31835,7.61718 1.98143,5.99878 6.90529,-0.38354 11.42578,-2.88086
-3.72627,-19.28154 0.62148,-2.27876 6.90534,-1.0358 -3.93605,-25.3426 -1.45012,-
3.79793 -1.24296,-2.20971 2.48592,-1.45012 8.15516,-1.29299 4.58985,-0.73243
3.95508,-1.61132 0.73242,-1.07422 -0.87891,-5.07813 -2.24609,-7.91015 -16.37911,-
67.99604 -1.79539,-7.18155 -5.52427,-24.72112 -1.51917,-2.34781 -0.7098,-4.19881
-6.34765,0.14649 -1.07422,-1.12305 -1.31836,-11.18164 -7.66602,-2.7832 -3.18565,-
15.6627 0.69053,-2.62403 5.38617,-0.13811 -5.52428,-45.16092 2.62403,0.27621
0.82864,-0.82864 -1.60069,-14.76806 -4.29687,0.29297 0.39062,-18.65235 -3.22265,0
-4.10157,9.66797 -7.74675,9.71784 -14.95832,1.8056 -8.1543,4.66308 -1.46484,-
29.19921 -3.95508,-1.61133 -3.51563,0.75684 -32.32422,14.55077 -5.88379,1.00098
-0.78125,-0.0732 -0.63476,-0.43946 -0.53711,-0.63476 -1.87988,-4.3457 1.66015,-
2.70996 2.27051,0.39062 -4.69971,-19.86694 -2.47802,-3.32642 z"
id="path3343"
fill="url(#img1)"
inkscape:connector-curvature="0" />
</g>
</a>
Thank you for any help.

SVGs are all rendering identical on rails

I'm trying to make a shared partial to render 3 SVG images, but when it goes to the browser it all looks like the 1st one.
Here's the code created:
<a href="">
<svg width="76" height="76" viewBox="0 0 76 76" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>GitHub</title>
<g id="Canvas" transform="translate(1493 741)">
<g id="Vector">
<use xlink:href="#path0_fill" transform="translate(-1493 -740.815)" fill="#2B34E3"/>
</g>
</g>
<defs>
<path id="path0_fill" fill-rule="evenodd" d="M 22.1444 38.5311C 22.0763 38.5311 22.8917 40.2542 22.9144 40.2542C 24.6943 43.4256 28.1252 45.3971 33.9128 45.9441C 33.0873 46.5592 32.0951 47.7265 31.9575 49.0752C 30.9186 49.7345 28.8295 49.9525 27.2062 49.4496C 24.9303 48.745 24.0593 44.3244 20.6524 44.9546C 19.9152 45.0895 20.0616 45.5672 20.6991 45.9744C 21.738 46.6336 22.715 47.4592 23.4686 49.2151C 24.048 50.5639 25.2648 52.9727 29.1148 52.9727C 30.6422 52.9727 31.7126 52.7924 31.7126 52.7924C 31.7126 52.7924 31.7417 56.2349 31.7417 57.5735C 31.7417 59.1176 29.6185 59.5525 29.6185 60.295C 29.6185 60.5887 30.3216 60.6164 30.8858 60.6164C 32.0017 60.6164 34.323 59.7025 34.323 58.0979C 34.323 56.8235 34.3445 52.5391 34.3445 51.7878C 34.3445 50.1492 35.2395 49.6298 35.2395 49.6298C 35.2395 49.6298 35.3505 58.3777 35.0261 59.5525C 34.6449 60.9315 33.957 60.7361 33.957 61.3513C 33.957 62.2664 36.7517 61.5769 37.6782 59.5664C 38.3939 58.0046 38.0809 49.4193 38.0809 49.4193L 38.8446 49.4042C 38.8446 49.4042 38.8875 53.3332 38.861 55.1294C 38.8345 56.9899 38.7057 59.342 39.8317 60.4513C 40.5714 61.1811 42.9672 62.4605 42.9672 61.2908C 42.9672 60.6113 41.6544 60.0529 41.6544 58.2139L 41.6544 49.7496C 42.7034 49.7496 42.5456 52.5328 42.5456 52.5328L 42.6226 57.7046C 42.6226 57.7046 42.3904 59.5878 44.6991 60.3756C 45.5133 60.6567 47.2552 60.7324 47.3373 60.2622C 47.4193 59.792 45.2394 59.0924 45.2192 57.6353C 45.2065 56.7441 45.2596 56.2248 45.2596 52.3576C 45.2596 48.4903 44.7307 47.0609 42.8864 45.9214C 48.5769 45.3479 52.0999 43.9664 53.8154 40.2668C 53.9492 40.2706 54.516 38.5387 54.4415 38.5387C 54.8265 37.142 55.0348 35.4895 55.0752 33.5332C 55.0651 28.2265 52.4774 26.3496 51.9813 25.4685C 52.7134 21.4513 51.8576 19.6235 51.4612 18.9958C 49.9944 18.484 46.3603 20.313 44.3734 21.6013C 41.1369 20.6723 34.2927 20.7618 31.7265 21.8408C 26.9916 18.5143 24.486 19.0235 24.486 19.0235C 24.486 19.0235 22.8665 21.871 24.0581 26.0382C 22.5004 27.987 21.3391 29.366 21.3391 33.0202C 21.3403 35.0798 21.5878 36.9227 22.1444 38.5311ZM 0 0L 75.7377 0L 75.7377 75.6303L 0 75.6303L 0 0Z"/>
</defs>
</svg>
</a>
<a href="">
<svg width="76" height="76" viewBox="0 0 76 76" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Twitter</title>
<g id="Canvas" transform="translate(1493 629)">
<g id="Vector">
<use xlink:href="#path0_fill" transform="translate(-1493 -628.63)" fill="#2B34E3"/>
</g>
</g>
<defs>
<path id="path0_fill" fill-rule="evenodd" d="M 43.1288 23.0458C 39.8229 24.2471 37.7338 27.3454 37.9711 30.7361L 38.0506 32.0445L 36.7277 31.8845C 31.9146 31.2706 27.7086 29.1882 24.1376 25.6891L 22.3918 23.9534L 21.9425 25.2353C 20.9907 28.0929 21.5991 31.1105 23.5822 33.1399C 24.64 34.2618 24.4014 34.4219 22.5774 33.7538C 21.9425 33.5408 21.3871 33.3807 21.334 33.4601C 21.1497 33.6479 21.7834 36.0769 22.2858 37.0387C 22.9738 38.3748 24.3749 39.6819 25.9099 40.4571L 27.2062 41.071L 25.6725 41.0975C 24.1919 41.0975 24.1389 41.1239 24.2979 41.6861C 24.8268 43.4218 26.9159 45.2647 29.2436 46.0664L 30.8833 46.6261L 29.4556 47.4807C 27.34 48.7109 24.8533 49.4042 22.3666 49.4559C 21.175 49.4824 20.1967 49.5895 20.1967 49.6702C 20.1967 49.9361 23.4244 51.4311 25.3014 52.0198C 30.935 53.7555 37.6277 53.0067 42.6529 50.0433C 46.224 47.9332 49.7937 43.7408 51.4612 39.6807C 52.3612 37.5189 53.26 33.566 53.26 31.6714C 53.26 30.4424 53.3395 30.2824 54.8202 28.8139C 55.6937 27.9592 56.5129 27.0252 56.672 26.758C 56.937 26.25 56.9093 26.25 55.5611 26.7038C 53.313 27.5055 52.9949 27.3983 54.107 26.1971C 54.9262 25.3424 55.9058 23.7933 55.9058 23.3395C 55.9058 23.2601 55.5094 23.3924 55.0588 23.6332C 54.5829 23.9004 53.5251 24.3013 52.7311 24.5408L 51.3034 24.9958L 50.007 24.1134C 49.2926 23.6332 48.2891 23.0987 47.7589 22.9387C 46.4095 22.5655 44.3457 22.6185 43.1288 23.0458ZM 0 0L 75.7377 0L 75.7377 75.6303L 0 75.6303L 0 0Z"/>
</defs>
</svg>
</a>
<a href="">
<svg width="76" height="76" viewBox="0 0 76 76" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Instagram</title>
<g id="Canvas" transform="translate(1493 853)">
<g id="instagram">
<use xlink:href="#path0_fill" transform="translate(-1493 -853)" fill="#2B34E3"/>
</g>
</g>
<defs>
<path id="path0_fill" fill-rule="evenodd" d="M 75.7377 0L 0 0L 0 75.6302L 75.7377 75.6302L 75.7377 0ZM 53.6281 22.0783C 54.6815 23.1304 55.3254 24.1824 55.8082 25.4244C 56.2765 26.6226 56.5984 27.9961 56.6862 30.0125C 56.7887 32.0289 56.8032 32.6718 56.8032 37.8152C 56.8032 42.9297 56.7743 43.594 56.6876 45.5841L 56.6875 45.587L 56.6862 45.6178C 56.5984 47.6196 56.2765 49.0078 55.8082 50.2059C 55.3254 51.4479 54.6815 52.4999 53.6281 53.552C 52.5745 54.604 51.521 55.2469 50.2772 55.7291C 49.0774 56.1967 47.7019 56.5182 45.6826 56.6058C 43.6633 56.7081 43.0195 56.7227 37.8689 56.7227C 32.7489 56.7227 32.0823 56.6938 30.0911 56.6074L 30.0897 56.6074L 30.0552 56.6058C 28.0505 56.5182 26.6604 56.1967 25.4606 55.7291C 24.2168 55.2469 23.1632 54.604 22.1097 53.552C 21.0562 52.4999 20.4124 51.4479 19.9294 50.2059C 19.4612 49.0078 19.1393 47.6342 19.0515 45.6178C 18.9491 43.6014 18.9344 42.9585 18.9344 37.8152C 18.9344 32.7018 18.9634 32.0366 19.0499 30.0476L 19.0515 30.0125C 19.1393 28.0107 19.4612 26.6226 19.9294 25.4244C 20.4124 24.1824 21.0562 23.1304 22.1097 22.0783C 23.1632 21.0263 24.2168 20.3834 25.4606 19.9012C 26.6604 19.4336 28.0359 19.1122 30.0552 19.0245C 32.0745 18.9222 32.7183 18.9076 37.8689 18.9076C 42.9889 18.9076 43.6555 18.9365 45.6467 19.0229L 45.6481 19.0229L 45.6826 19.0245C 47.6873 19.1122 49.0774 19.4336 50.2772 19.9012C 51.521 20.3834 52.5745 21.0263 53.6281 22.0783ZM 52.6184 48.9639C 52.8818 48.3064 53.1891 47.2982 53.2769 45.4571L 53.2794 45.3996C 53.3652 43.4576 53.3939 42.8073 53.3939 37.8152C 53.3939 32.8447 53.3654 32.1927 53.2805 30.2565L 53.2805 30.2554L 53.2804 30.2534L 53.2769 30.1732C 53.1891 28.3322 52.8818 27.3386 52.6184 26.6664C 52.2672 25.7751 51.8575 25.1468 51.1991 24.4893C 50.5405 23.8317 49.8967 23.408 49.0188 23.072C 48.3604 22.8089 47.3507 22.5021 45.507 22.4144C 43.517 22.3121 42.9025 22.2975 37.8542 22.2975C 32.873 22.2975 32.2228 22.3259 30.2805 22.4109L 30.2014 22.4144C 28.3578 22.5021 27.3628 22.8089 26.6897 23.072C 25.7971 23.4226 25.1678 23.8317 24.5094 24.4893C 23.851 25.1468 23.4266 25.7897 23.0901 26.6664C 22.8267 27.324 22.5194 28.3322 22.4316 30.1732C 22.3292 32.1604 22.3146 32.7741 22.3146 37.8152C 22.3146 42.7856 22.3431 43.4376 22.428 45.3738L 22.428 45.3749L 22.4281 45.377L 22.4316 45.4571C 22.5194 47.2982 22.8267 48.2917 23.0901 48.9639C 23.4413 49.8552 23.851 50.4835 24.5094 51.1411C 25.1678 51.7986 25.8118 52.2223 26.6897 52.5584C 27.3481 52.8214 28.3578 53.1282 30.2014 53.2159C 32.1914 53.3182 32.7914 53.3328 37.8542 53.3328C 42.8359 53.3328 43.4824 53.3045 45.4115 53.22L 45.507 53.2159C 47.3507 53.1282 48.3457 52.8214 49.0188 52.5584C 49.9114 52.2077 50.5405 51.7986 51.1991 51.1411C 51.8575 50.4835 52.2819 49.8406 52.6184 48.9639ZM 28.1237 37.8151C 28.1237 32.4526 32.4841 28.0983 37.8542 28.0983C 43.2244 28.0983 47.5848 32.4526 47.5848 37.8151C 47.5848 43.1776 43.2244 47.5319 37.8542 47.5319C 32.4841 47.5319 28.1237 43.1776 28.1237 37.8151ZM 31.5331 37.8151C 31.5331 41.3073 34.3717 44.1273 37.8542 44.1273C 41.3368 44.1273 44.1755 41.2927 44.1755 37.8151C 44.1755 34.3229 41.3514 31.5028 37.8542 31.5028C 34.3571 31.5028 31.5331 34.3375 31.5331 37.8151ZM 47.9652 29.9832C 49.2178 29.9832 50.2332 28.9692 50.2332 27.7184C 50.2332 26.4675 49.2178 25.4536 47.9652 25.4536C 46.7125 25.4536 45.6971 26.4675 45.6971 27.7184C 45.6971 28.9692 46.7125 29.9832 47.9652 29.9832Z"/>
</defs>
</svg>
</a>
As you can see all the SVGs are different, but when they are rendered they look like this:
Identical SVGs rendering
You must change the id to a unique name and properly reference it into xlink:href
<use xlink:href="#path1_fill" ...
<path id="path1_fill" fill-rule=...
<use xlink:href="#path2_fill" ...
<path id="path2_fill" fill-rule=...
https://jsfiddle.net/42qq7wLu/

What effect does the base-tag have on svg:s with xlink:href?

I'm including svg:s in my markup using xlink:href:
<svg class="questionTitleIcon">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#icon-questionmark"></use>
</svg>
#icon-questionmark is defined
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="icon-questionmark" viewBox="0 0 60 61" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"><!-- Generator: Sketch 3.4.1 (15681) - http://www.bohemiancoding.com/sketch --><title>Slice 1</title><desc>Created with Sketch.</desc><defs></defs><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g id="icon-invoicing-1" sketch:type="MSLayerGroup"><path d="M59.9827338,30.6427143 C59.9827338,14.2078571 46.5638849,0.884857143 30.0107914,0.884857143 C13.4581295,0.884857143 0.0392805755,14.2078571 0.0392805755,30.6427143 C0.0392805755,47.0775714 13.4581295,60.4005714 30.0107914,60.4005714 C46.5638849,60.4005714 59.9827338,47.0775714 59.9827338,30.6427143" id="Fill-1" fill="#FFBB2F" sketch:type="MSShapeGroup"></path><path d="M32.7333898,38.383 C33.4633898,39.1 33.8283898,40.003 33.8283898,41.091 C33.8283898,42.18 33.4633898,43.082 32.7333898,43.799 C32.0023898,44.516 31.0933898,44.874 30.0053898,44.874 C28.9163898,44.874 28.0203898,44.516 27.3173898,43.799 C26.6143898,43.082 26.2623898,42.18 26.2623898,41.091 C26.2623898,40.003 26.6143898,39.1 27.3173898,38.383 C28.0203898,37.667 28.9163898,37.308 30.0053898,37.308 C31.0933898,37.308 32.0023898,37.667 32.7333898,38.383 Z" id="Path" stroke="#6C4B00" stroke-width="2" sketch:type="MSShapeGroup"></path><path d="M22.0223898,23.022 C22.0223898,23.022 22.4993898,19.883 24.0523898,18.329 C25.6053898,16.777 27.7353898,16 30.4433898,16 C31.7433898,16 32.9053898,16.193 33.9273898,16.577 C34.9493898,16.963 35.8193898,17.507 36.5353898,18.21 C37.2523898,18.914 37.7963898,19.743 38.1683898,20.699 C38.5393898,21.654 38.7253898,22.69 38.7253898,23.805 C38.7253898,24.601 38.6393898,25.298 38.4663898,25.895 C38.2943898,26.492 38.0623898,27.037 37.7703898,27.528 C37.4773898,28.019 37.1463898,28.464 36.7743898,28.862 L36.4023898,29.26 C35.9503898,29.676 35.2333898,30.297 34.8093898,30.641 C34.8093898,30.641 34.8093898,30.641 34.4653898,30.932 C34.1193898,31.225 33.8083898,31.53 33.5293898,31.848 C33.2503898,32.167 33.1113901,32.3135647 32.8723898,32.884 C32.6333895,33.4544353 32.6333898,34.305 32.6333898,34.437 C32.6333898,34.568 31.7333898,34.675 30.6333898,34.675 L29.0583898,34.675 C27.9583898,34.675 27.0583898,34.326 27.0583898,33.899 C27.0583898,33.472 27.1773898,31.749 27.4173898,31.151 C27.6563898,30.554 27.9603898,30.017 28.3323898,29.539 C28.7043898,29.061 29.1153898,28.623 29.5673898,28.225 L30.0183898,27.826 C30.5143898,27.432 31.4163898,26.701 32.0223898,26.201 C32.0223898,26.201 32.0223898,26.201 32.4743898,25.736 C32.9253898,25.272 33.1513898,24.734 33.1513898,24.123 C33.1513898,23.433 32.9323898,22.836 32.4943898,22.331 C32.0553898,21.827 31.3323898,21.575 30.3233898,21.575 C29.3143898,21.575 28.5323898,21.867 27.9743898,22.451 C27.7887231,22.6456667 27.9743896,22.4510002 27.4173899,23.2842646 C26.8603902,24.1175289 26.2383898,24.999 25.1383898,24.999 L23.7223898,24.999 C22.6223898,24.999 21.8573898,24.109 22.0223898,23.022 Z" id="Path" stroke="#6C4B00" stroke-width="2" sketch:type="MSShapeGroup"></path></g></g></symbol>
</svg>
This works fine in Chrome.
In firefox, on any other url than "/", if I have a base-tag in my header, the items are not found, here is an example of the base-tag
Why is this and what can be done about it?
As Kaiido said, if you have to use a <base> element, then you will need to change all your xlink:href and url(#foo) references to absolute URLs. For example:
xlink:href="/path/to/my.svg#icon-questionmark"