CSS/蒙层:修订间差异
来自康健生活
< CSS
| 第40行: | 第40行: | ||
filter: alpha(opacity=60); | filter: alpha(opacity=60); | ||
opacity: 0.6 !important;</syntaxhighlight> | opacity: 0.6 !important;</syntaxhighlight> | ||
== 镂空 == | |||
<html><iframe width="100%" height="300" src="//www.kangjian.life/date/2020/遮罩层/DIV%20拼接镂空方法/iframe.html" frameborder="0"></iframe></html> | |||
2020年11月27日 (五) 12:02的版本
引言
场景
- 蒙层登陆效果
模糊效果(虚化)
相关属性
| pointer-events | 示例 | 示例 |
| 示例 | 示例 | 示例 |
| 示例 | 示例 | 示例 |
遮罩层
background: #fff;
position: fixed;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
z-index: 10;
filter: alpha(opacity=60);
opacity: 0.6 !important;
镂空
No categories

