The display and position properties control how elements are rendered and placed on the page.
Display Values
block— full width, starts on new line (div, p, h1)inline— only takes needed width, stays in flow (span, a)inline-block— inline flow but accepts width/height/paddingnone— removes element from layout entirelyflex— enables flexbox layoutgrid— enables grid layout
Position Values
static— default, normal flowrelative— positioned relative to its normal positionabsolute— positioned relative to nearest positioned ancestorfixed— positioned relative to viewport (stays on scroll)sticky— hybrid of relative and fixed