-
Notifications
You must be signed in to change notification settings - Fork 1
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
新手指导浮层 #80
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
文章
引导蒙层
笔记
border是个好办法,canvas也行,但是canvas 也是需要看一下兼容,那个属性safari 不太行。
另外4个思路均不可靠:
z-index方法在复杂页面(使用到绝对定位、固定定位、设置有z-index)可能无效;
opacity设置透明度会影响节点本身及后代节点,无法做到透明父节点显示子节点,方法基本无效;
box-shadow不建议使用,模糊消耗GPU性能,会影响FPS;
页面节点复制,会丢失继承父级的样式,因此基本无效。
The text was updated successfully, but these errors were encountered: