All videosLayout & design
CSS position properties

CSS position properties

Using the position property is one of many ways you can change the layout and positioning of an element to create unique web layouts. You can even specify the stacking order of positioned elements that overlap other elements using z-index.

In this lesson, we cover how the different position property options work: Static, relative, absolute, fixed, and sticky.