decrease the opacity of an element - zilongxuan001/LearnFreecode GitHub Wiki

降低元素的不透明度

理解

CSS的opacity属性是用于调整不透明度,或者说增加透明度的。

如果值为1 ,则是完全不透明

如果值为0.5,就是半透明;

如果值是0,就是完全透明

这个值会被用到整个元素上,比如图片的透明度,或者文本组块的前景色或背景色。

来源

Applied Visual Design: Decrease the Opacity of an Element | Learn freeCodeCamp

CHANGELOG

2018-10-19 14:22:49