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.
我正在一个新网站上工作,并且之前使用过灯箱。现在我更改为 lightbox2,因为它应该在我正在使用的骨架响应框架中工作得更好。我设法让灯箱按预期工作,除了在图像的左侧和上方出现白色条纹,就好像图像稍微偏离中心一样。
其他人有这个吗?
http://cl.ly/image/35220Z2Z093Z
似乎 img 有边距,或者它的容器有填充设置为非零。如果您发布指向此错误所在页面的链接,则更容易查看问题所在。