Skip to content

Latest commit

 

History

History
35 lines (19 loc) · 426 Bytes

filter.md

File metadata and controls

35 lines (19 loc) · 426 Bytes

opacity

设置元素的透明度。

属性值:

  1. alpha 透明度(0.0-1.0 0.0 代表完全透明,1.0 代表完全不透明)

filter

滤镜,主要应用于图像。

属性值:

1.grayscale() 灰度

2.sepia() 褐色

3.saturate() 饱和度

4.hue-rotate() 色向反转

5.invert() 反色

6.opacity() 透明度

7.brightness() 亮度

8.contrast() 对比度

9.blur() 模糊

10.drop-shadow() 阴影