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

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss')
-rw-r--r--scss/helpers/_position.scss8
1 files changed, 7 insertions, 1 deletions
diff --git a/scss/helpers/_position.scss b/scss/helpers/_position.scss
index 31851eb721..59103d9436 100644
--- a/scss/helpers/_position.scss
+++ b/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;
+ }
}
}