New! My 44-page ebook "CSS in 44 minutes" is out! 😃
Defines the position of the element according to its top edge.
The element will remain in its natural position.
If the element is in position relative, the element will move downwards by the amount defined by the top value.
If the element is in position absolute, the element will position itself from the top of the first positioned ancestor.
Share this CSS property
Share on Twitter
Share on Facebook