CSS/蒙层:修订间差异
来自康健生活
| 第29行: | 第29行: | ||
| 示例 || 示例 || 示例 | | 示例 || 示例 || 示例 | ||
|} | |} | ||
== 遮罩层 == | |||
<syntaxhighlight lang="css"> | |||
background: gray; | |||
position: fixed; | |||
left: 0px; | |||
top: 0px; | |||
width: 100%; | |||
height: 100%; | |||
display: none; | |||
z-index: 20; | |||
filter: alpha(opacity=60); | |||
opacity: 0.6 !important;</syntaxhighlight> | |||