Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近一直在使用 jQuery 实现图像滑块。
所以我在 Firefox 中遇到了一个问题,其中 FadeIn/FadeOut 过渡会将我的图像的宽度或高度缩短 1 px。但仅在效果进行时。
进度完成后,图像再次具有完整尺寸
找到了。
将此样式添加到您的图像中,它将在 FF 上解决。
box-shadow: #000 0em 0em 0em;
出于某种我不知道的原因,这是解决方法。Firefox 中的错误。