Last Updated: February 25, 2016
·
344
· davidecaruso

CSS: opacity cross-browser rules

#amazing-element {
    -ms-filter:     "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter:         alpha(opacity=50);
    -moz-opacity:   0.5;
    -khtml-opacity: 0.5;
    opacity:        0.5;
}