What are the CSS3 properties that define transparency effects
This article mainly shows you "what are the CSS3 attributes that define the transparency effect", the content is simple and clear, and I hope it can help you solve your doubts. Let me lead you to study and learn "what are the CSS3 attributes that define the transparency effect" this article.
The CSS3 attribute that defines the transparent effect is opacity.
First, we will show how to build transparent images through CSS.
Normal image:
Opposite image with transparency:
Take a look at the following CSS:
Img {opacity:0.4;filter:alpha (opacity=40); / * for IE8 and earlier versions * /}
IE9, Firefox, Chrome, Opera and Safari apply the attribute opacity to set achromatic values. The opacity attribute complies with a set value from 0.0 to 1.0. The smaller the value, the more sensible it is.
IE8 and earlier versions use the filter filter:alpha (opacity=x). X may have a value from 0 to 100. The smaller the value, the more colorless it is.
The above is all the content of the article "what are the CSS3 properties that define transparency?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!