Control element stacking order with z-index
z-index is a CSS property used to determine which element appears on top of another when they overlap. Elements with a higher z-index are displayed in front of elements with a lower value. By default, elements have a z-index of auto, and their stacking order is determined by their order in the HTML document flow. The property accepts any integer (positive or negative) within the range of a 32-bit signed integer (±2,147,483,647).