PNG 图像(在锚点中)未显示透明背景
PNG image (in anchor) is not showing transparent background
请看here。您可以看到论坛列表:
我无法理解为什么图像没有显示透明背景,因为图像本身是透明的:
我该如何解决这个问题?我看到提到 background-color: transparent;
的类似问题,但我删除了样式,因为它似乎不起作用。
解决了这个问题。我不得不使用这个额外的样式:
#bbpress-forums .bsp_thumbnail img {
max-width: 48px !important;
max-height: 48px !important;
min-width: 48px !important;
min-height: 48px !important;
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border: none !important;
}
请看here。您可以看到论坛列表:
我无法理解为什么图像没有显示透明背景,因为图像本身是透明的:
我该如何解决这个问题?我看到提到 background-color: transparent;
的类似问题,但我删除了样式,因为它似乎不起作用。
解决了这个问题。我不得不使用这个额外的样式:
#bbpress-forums .bsp_thumbnail img {
max-width: 48px !important;
max-height: 48px !important;
min-width: 48px !important;
min-height: 48px !important;
-moz-box-shadow: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
border: none !important;
}