2

i've recently been implementing an image slider using jQuery.

So i have a problem in Firefox where the FadeIn/FadeOut transitions would shorten the width or height of my images by 1 px. but only while the effect is in progress.

once the progress is done, the image had full dimensions again

idmean
  • 14,540
  • 9
  • 54
  • 83
Sam-Elie
  • 495
  • 4
  • 13

1 Answers1

14

Found it.

add this style to your image and it will be solved on FF.

box-shadow: #000 0em 0em 0em;

for some reason unknown to me yet this is the fix. Bug in FireFox.

Sam-Elie
  • 495
  • 4
  • 13