Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/the2ne/hugo-frais.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/sass/_mixins.scss')
-rw-r--r--static/sass/_mixins.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/static/sass/_mixins.scss b/static/sass/_mixins.scss
index d8bfcce..89d0992 100644
--- a/static/sass/_mixins.scss
+++ b/static/sass/_mixins.scss
@@ -24,3 +24,9 @@
clear: both;
}
}
+
+/// Background opacity
+@mixin _background-opacity($color, $opacity: 0.5) {
+ background-color: $color; /* The Fallback */
+ background-color: rgba($color, $opacity);
+} \ No newline at end of file