1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 17:11:48 +02:00

add .sticky-thead support

This commit is contained in:
Mark Otto
2022-04-06 17:19:17 -07:00
committed by Julien Déramond
parent e20cc0d660
commit 65d976cfba
3 changed files with 81 additions and 0 deletions

View File

@@ -154,6 +154,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