diff options
Diffstat (limited to 'assets/stylesheets/bootstrap/utilities/_position.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/utilities/_position.scss | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/assets/stylesheets/bootstrap/utilities/_position.scss b/assets/stylesheets/bootstrap/utilities/_position.scss index 74b8d39..bddae21 100644 --- a/assets/stylesheets/bootstrap/utilities/_position.scss +++ b/assets/stylesheets/bootstrap/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; |