diff options
Diffstat (limited to 'static/sass/_mixins.scss')
-rw-r--r-- | static/sass/_mixins.scss | 6 |
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 |