Position

Classes to set the position property on an element

The following classes can be added to elements to set the position property. Keep in mind that the position of your element will be determined by the positioning of its parent.

Class Name CSS Value
.position-absolute position: absolute;
.position-relative position: relative;
.position-fixed position: fixed;
.position-sticky positon: sticky;
.position-sticky positon: sticky;
.position-static position: static;