From f597e2fe949a1e18eb778b9a5bd102de88570555 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 May 2017 14:03:27 +0200 Subject: Initial commit. --- src/sass/bootstrap3/bootstrap/mixins/_opacity.scss | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/sass/bootstrap3/bootstrap/mixins/_opacity.scss (limited to 'src/sass/bootstrap3/bootstrap/mixins/_opacity.scss') diff --git a/src/sass/bootstrap3/bootstrap/mixins/_opacity.scss b/src/sass/bootstrap3/bootstrap/mixins/_opacity.scss new file mode 100644 index 0000000..88e9a57 --- /dev/null +++ b/src/sass/bootstrap3/bootstrap/mixins/_opacity.scss @@ -0,0 +1,8 @@ +// Opacity + +@mixin opacity($opacity) { + opacity: $opacity; + // IE8 filter + $opacity-ie: ($opacity * 100); + filter: alpha(opacity=$opacity-ie); +} -- cgit v1.2.3