You can alter an element’s z-index to change its position along the z-axis (an imaginary dimension that extends into and out of your computer screen, creating the illusion of depth). Increasing the z-index on an element allows it to “sit on top of” elements with a lower z-index, and lowering the z-index can make an element sit beneath elements with a higher z-index. But z-index only works with elements that have relative, absolute, or fixed positioning.
In this video, we’ll show you how to use z-index on relative, absolute, and fixed position elements in Webflow.
Get started with Webflow: