Say "Hello!"

  • This field is for validation purposes and should be left unchanged.

Support Transparency/Opacity in All Major Browsers


1
2
3
4
5
6
7
div {
    opacity:0.7; /* standards-compliant browsers */

    /* The following is ignored by standards-based browsers */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";  /* IE8 */
    filter: alpha(opacity=70); /* IE 5-7  */
}

Back to Snippets Follow me on GitHub

Ashley Cameron logo
Blog