如何在图像预览中隐藏暗模式图标
How to hide dark mode icon on the image preview
深色模式图标显示在图像预览的前面。如何隐藏它?
示例测试页:https://www.aluth.com/2021/05/apple-airtag-how-it-works-features-and.html
enter image description here
图标出现在预览前面是因为它有z-index: 999;
.
设置预览框的z-index
,使其大于999
.CSS_LIGHTBOX {
z-index: 9999;
}
您可以阅读更多关于 z-index 属性
深色模式图标显示在图像预览的前面。如何隐藏它? 示例测试页:https://www.aluth.com/2021/05/apple-airtag-how-it-works-features-and.html
enter image description here
图标出现在预览前面是因为它有z-index: 999;
.
设置预览框的z-index
,使其大于999
.CSS_LIGHTBOX {
z-index: 9999;
}
您可以阅读更多关于 z-index 属性