Transparency Mixin SASS for All Browsers
Transparency Mixin
</>=opacity(!opacity)
</>opacity: !opacity
/* for All Good browsers */
</>-moz-opacity: !opacity
/* for Mozilla & Netscape */
</>-khtml-opacity: !opacity
/* for Safari & Webkit */
</>-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity100) + ")"
/ for IE 8*/
</>filter: "alpha(opacity=" + round(!opacity100) + ")"
/ for IE 5-7 */
Written by Abdul Wahid
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sass
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#