Question

Themans

What is the correct way to set opacity using css3?

Asked by Themans 7 months ago css3 opacity

Answers

Autobots
1
 
CSS3 allows you to set opacity for text, images, or sections. Here's the magical code that allows us to do so. This code is compatible with Firefox, Safari, and Opera 9.

Code:
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE 5.5+*/
-moz-opacity: 0.5; /* Mozilla 1.6 и ниже */
-khtml-opacity: 0.5; /* Konqueror 3.1, Safari 1.1 */
opacity: 0.5; /* CSS3 - Mozilla 1.7 +, Firefox 0.9 +, Safari 1.2+, Opera 9 */

by Autobots 7 months ago

Answer this question

What is the correct way to set opacity using css3?

0 errors found:

 
0