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:
committed by
Julien Déramond
parent
e20cc0d660
commit
65d976cfba
@@ -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
|
||||
|
Reference in New Issue
Block a user