diff options
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/utilities/_position.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/scss/utilities/_position.scss b/scss/utilities/_position.scss index 74b8d39e7..bddae2151 100644 --- a/scss/utilities/_position.scss +++ b/scss/utilities/_position.scss @@ -1,4 +1,13 @@ -// Positioning +// Common values + +// Sass list not in variables since it's not intended for customization. +$positions: static, relative, absolute, fixed, sticky; + +@each $position in $positions { + .position-#{$position} { position: $position !important; } +} + +// Shorthand .fixed-top { position: fixed; |
