Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
The top Property
The following red div element has position: relative;
This div element has position: absolute, and top: 0.
This div element has position: absolute, and is placed 50 pixels down from the top edge of the containing positioned element.