Home › Forums › CSS › Problem with SVG sprites in Firefox › Reply To: Problem with SVG sprites in Firefox
February 8, 2016 at 5:22 am
#237808
Participant
It seems I have accidently solved this particular problem but it’s just a hack that works but I don’t understand why.
http://codepen.io/Juribiyan/pen/QyJjGp
I have added this:
svg {
-moz-transform: scale(1);
position: absolute;
left: 0; top: 0;
}
Absolute positioning helps getting rid of 1px vertical offset.