Skip to content

启用fancybox功能时单击放大PNG图片显示问题 #558

Answered by stevenjoezhang
cq674350529 asked this question in Q&A
Discussion options

You must be logged in to vote

fancybox 本来设置了白色的背景,但被 override 了。所以再用 css 声明一下背景颜色就行:

.fancybox-content {
  background: #fff !important;
}

fancybox 上游很久没更新了,估计没人管,就这样用着吧…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@cq674350529
Comment options

@stevenjoezhang
Comment options

@cq674350529
Comment options

Answer selected by cq674350529
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants