Opacity SCSS Mixin

@mixin opacity($opacity: 0.5) { $opacityMultiplied: ($opacity * 100); filter: alpha(opacity=$opacityMultiplied); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + $opacityMultiplied + ")"; @include css3-prefix('opacity', $opacity); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.