This property sets how far the top edge of an element box is offset above/below the top edge of its containing element. For relatively positioned boxes, the offset is with respect to the top edge of its normal position.
CSS Level | Value |
---|---|
CSS 2.1 | a length, a percentage, or "auto" |
CSS3 | a length, a percentage, or "auto" |