<div class="sticky-top bg-primary">Sticky top</div>
You don't need to remember all CSS classes. Just use the Bootstrap Editor instead.
/* _position.scss:31 */
.sticky-top {
@supports (position: sticky) {
position: sticky;
top: 0;
z-index: $zindex-sticky;
}
}
Code copied to the clipboard.
Copying failed
/* _position.scss:31 */
$zindex-sticky