![]() |
what is opacity in css3?
Hi friends,
what is opacity in css3? let me help to know about it. please share your feedback. Thanks. |
opacity:0 // you dont see anything
opacity:1 // you see the element opacity:0.1 - 0.9 // check the results! |
Hi,
Opacity is property in CSS3 that permit to change the transparency of the image so that text fade in and out the background. Transparency amount- 0.0 -100% transparent 1.0- 100% opaque 0.1 to 0.9 variation in result |
Opacity is CSS3 transparent property whose value changes 0 to 1 or 0 to 100(depends on the browser),it can be applied on both text and image.
0 value indicates less transparent or most fade effect. 1 value indicates more transparent or least fade effect. vice versa for 0 to 100 for IE9 and earlier Syntex: property : value opacity : 0.5; filter:alpha(opacity=40) // FOR 1E9 AND EARLIER |
The opacity property takes a value of the amount of transparency from 0.0 to 1.0. 0.0 is 100% transparent—anything below that element will show completely through. 1.0 is 100% opaque—nothing below the element will show through.
|
See the difference in the code between the first row, which uses the same color value for each row, combined with an opacity value, and the second, which uses RGB values:
|
Opacity is property in CSS3 that permit to change the transparency of the image so that text fade in and out the background.
|
The CSS3 property for transparency is opacity. like that can change the transparency of a text or image
|
See the difference in the code between the first row, which uses the same color value for each row, combined with an opacity value, and the second, which uses RGB values:
|
Quote:
|
All times are GMT -7. The time now is 11:10 AM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.