Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with SVG sprites in Firefox Reply To: Problem with SVG sprites in Firefox

#237808
Juribiyan
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.