bs4 position sticky code example
Example 1: bootstrap position
<div class="position-static">...</div>
<div class="position-relative">...</div>
<div class="position-absolute">...</div>
<div class="position-fixed">...</div>
<div class="position-sticky">...</div>
Example 2: bootstrap position fixed
<div class="fixed-top">...</div>