/ Published in: SASS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@mixin opacity($value) opacity: #{"." + $value} filter: alpha(opacity=$value) -ms-filter: "alpha(opacity=$value)" -khtml-opacity: #{"." + $value} -webkit-opacity: #{"." + $value} -moz-opacity: #{"." + $value} .opacity @include opacity(80)