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 always: #(String, String)
  • : The positioned element is always displayed.
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 inherit: #(String, String)
pub const initial: #(String, String)
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-valid value, 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: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for position-visibility. It will be wrapped in var() and have -- prepended.

Search Document