Z-buffering is used to control the order in which CSS-positioned elements appear to be stacked on the screen. Here are some examples: