#top

Defines the position of the element according to its top edge.

默认属性 top: auto;

The element will remain in its natural position.

top: 20px;

If the element is in position relative, the element will move downwards by the amount defined by the top value.

top: 0;

If the element is in position absolute, the element will position itself from the top of the first positioned ancestor.