position relative bootstrap 4 code example
Example 1: position relative bootstrap 4
<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>