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
diff options
context:
space:
mode:
Diffstat (limited to 'scss/_tables.scss')
-rw-r--r--scss/_tables.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/scss/_tables.scss b/scss/_tables.scss
index 601d86cc9f..d2287f86db 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -147,6 +147,15 @@
@include table-variant($color, $value);
}
+
+// Sticky table headers
+.thead-sticky {
+ position: sticky;
+ top: var(--#{$prefix}table-thead-sticky-top, 0);
+ z-index: $table-thead-sticky-zindex;
+}
+
+
// Responsive tables
//
// Generate series of `.table-responsive-*` classes for configuring the screen