position: absolute and position: relative. Most important is you understand how this attribute interacts with a child element and its parent container (e.g. an absolute div within a relative div), as well as the bottom, top, left, right attributes.
There's also position: sticky but I think the only time you'll use that is with a navbar
edit: as another user pointed out, there's fixed too. But imo absolute and relative are by far the most important due to how they are influenced by every other element in the DOM.
position: absolute
andposition: relative
. Most important is you understand how this attribute interacts with a child element and its parent container (e.g. an absolute div within a relative div), as well as the bottom, top, left, right attributes.There's also
position: sticky
but I think the only time you'll use that is with a navbaredit: as another user pointed out, there's
fixed
too. But imoabsolute
andrelative
are by far the most important due to how they are influenced by every other element in the DOM.I will do that