monks/top
The top CSS property sets the vertical position of a positioned element. This {{glossary(“inset properties”, “inset property”)}} has no effect on non-positioned elements.
Values
pub const auto_: #(String, String)
- : Specifies that: - for absolutely positioned elements, the position of the element is based on the {{Cssxref(“bottom”)}} property, while
height: autois treated as a height based on the content; or ifbottomis alsoauto, the element is positioned where it should vertically be positioned if it were a static element. - for relatively positioned elements, the distance of the element from its normal position is based on the {{Cssxref(“bottom”)}} property; or ifbottomis alsoauto, the element is not moved vertically at all.
pub const revert_layer: #(String, String)