3D CSS Transforms: Containing Block

In this example, a child element is absolutely-positioned inside of a parent element with perspective: 500px applied. Toggle the perspective property to understand how perspective creates a containing block.

1
2
3