1
HTML/CSSIntermediate#css#position
static is the default flow. relative offsets an element from its normal position without affecting siblings. absolute removes it from flow and positions relative to the nearest positioned ancestor. fixed positions relative to the viewport, ignoring scroll. sticky toggles between relative and fixed based on scroll position within its container.
.tooltip {
position: absolute;
top: 100%;
left: 0;
}
.navbar { position: sticky; top: 0; }