aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/scss/helpers/_position.scss
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/scss/helpers/_position.scss')
-rw-r--r--vendor/twbs/bootstrap/scss/helpers/_position.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/twbs/bootstrap/scss/helpers/_position.scss b/vendor/twbs/bootstrap/scss/helpers/_position.scss
index 31851eb72..59103d943 100644
--- a/vendor/twbs/bootstrap/scss/helpers/_position.scss
+++ b/vendor/twbs/bootstrap/scss/helpers/_position.scss
@@ -16,7 +16,7 @@
z-index: $zindex-fixed;
}
-// Responsive sticky top
+// Responsive sticky top and bottom
@each $breakpoint in map-keys($grid-breakpoints) {
@include media-breakpoint-up($breakpoint) {
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
@@ -26,5 +26,11 @@
top: 0;
z-index: $zindex-sticky;
}
+
+ .sticky#{$infix}-bottom {
+ position: sticky;
+ bottom: 0;
+ z-index: $zindex-sticky;
+ }
}
}