Skip to content

Instantly share code, notes, and snippets.

@seutje
Created November 4, 2011 15:17
Show Gist options
  • Save seutje/1339557 to your computer and use it in GitHub Desktop.
Save seutje/1339557 to your computer and use it in GitHub Desktop.
rgba mixin
@mixin rgba-ie($color, $alpha) {
$rgba: rgba($color, $alpha);
$ie-hex-str: ie-hex-str($rgba);
background-color: transparent;
background-color: $rgba;
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#{$ie-hex-str},endColorstr=#{$ie-hex-str});
zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment