Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复指定水印容器的 position、opacity 均可以使水印不可见的问题 #85

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Moushudyx
Copy link

胡乱测试的时候发现的,父容器的 position 和 opacity 没有锁定,指定前者可以将子元素定位到屏幕外面,指定后者可以让整个水印完全透明。
添加CSS的话,很多浏览器插件都能做(stylus之类的,我就是拿stylus添加CSS的时候发现可以隐藏水印的)。

胡乱测试的时候发现的,父容器的 position 和 opacity 没有锁定,指定前者可以将子元素定位到屏幕外面,指定后者可以让整个水印完全透明。
Copy link

@lejunyang lejunyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

容器visibility:hidden也会水印不可见,应该再加一个visibility: visible !important

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants