Sass mixin for background transparency back to IE8
问题 I'm new to Sass and struggling with this. I can't get the color to render in both hex (for IE) and rgba . Every little piece is frustrating me because I haven't mastered the syntax yet, and Google results for Sass are still sparse. Here's the mixin: @mixin transparent($hex, $a){ /* for IEGR8 */ background: transparent; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{$a}#{$hex},endColorstr=#{$a}#{$hex}); zoom: 1; /* for modern browsers */ background-color: rgba(#{$hex},.#{$a