在图像悬停上向左添加间距
on image hover adds a spacing to the left
当您将鼠标悬停在此页面上的任一产品图片上时,左侧会出现一条 2px 的水平线。我试着设置我的填充、边距、不换行,我就是想不通。感谢您的浏览和任何建议。
我知道我可以通过添加来欺骗它:
.mz-productlisting-image img {
margin-left: -4px;
}
但如果没有必要,我也不想!
这是text-decoration:下划线;锚标签。
只需添加到
.mz-productlist-tiled a:focus,
.mz-productlist-tiled a:hover{
text-decoration:none;
}
希望对您有所帮助:)
当您将鼠标悬停在此页面上的任一产品图片上时,左侧会出现一条 2px 的水平线。我试着设置我的填充、边距、不换行,我就是想不通。感谢您的浏览和任何建议。
我知道我可以通过添加来欺骗它:
.mz-productlisting-image img {
margin-left: -4px;
}
但如果没有必要,我也不想!
这是text-decoration:下划线;锚标签。
只需添加到
.mz-productlist-tiled a:focus,
.mz-productlist-tiled a:hover{
text-decoration:none;
}
希望对您有所帮助:)