monks/position_visibility
{{seecompattable}}
The position-visibility CSS property enables conditionally hiding an anchor-positioned element depending on, for example, whether it is overflowing its containing element or the viewport.
Values
pub const anchors_valid: #(String, String)
anchors-valid value of position-visibility
pub const anchors_visible: #(String, String)
- : If the anchor is completely hidden, either by overflowing its containing element (or the viewport) or being covered by other elements, the positioned element will be strongly hidden.
pub const no_overflow: #(String, String)
- : If the positioned element starts to overflow its containing element or the viewport, it will be strongly hidden.The specification also defines the
anchors-validvalue, which has not yet been implemented in any browser.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for position-visibility
pub const revert_layer: #(String, String)