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

CSS3新属性-pointer-events | 李旭光的成长博客 #37

Open
lixuguang opened this issue May 7, 2021 · 0 comments
Open

CSS3新属性-pointer-events | 李旭光的成长博客 #37

lixuguang opened this issue May 7, 2021 · 0 comments

Comments

@lixuguang
Copy link
Owner

https://lixuguang.github.io/2020/05/14/css3-pointer-events/

作者:李旭光引用请标明出处 前言今天在看一个叫做Avue的框架组件时看到了一个叫做“全局水印”的组件,功能呢就是给当前页面加上一个水印遮罩,就像下图这样:因为工作中有这样的场景,所以我很好奇看了一下他的代码,他的水印设置为了fixed定位,并且z-index设置的很高,但是它具有穿透性,最终我发现其中起作用的是一个叫做“pointer-events”的css3新属性,于是为了搞清楚它的作用,我

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

No branches or pull requests

1 participant