monks/overflow_inline
The overflow-inline CSS property sets what shows when content overflows the inline start and end edges of a box. This may be nothing, a scroll bar, or the overflow content.
The
overflow-inlineproperty maps to {{Cssxref(“overflow-y”)}} or {{Cssxref(“overflow-x”)}} depending on the writing mode of the document.
Values
pub const auto_: #(String, String)
- : Depends on the user agent. If content fits inside the padding box, it looks the same as
visible, but still establishes a new block-formatting context. Desktop browsers provide scrollbars if content overflows.
pub const clip: #(String, String)
- : Overflow content is clipped at the element’s overflow clip edge that is defined using the {{CSSXref(“overflow-clip-margin”)}} property.
pub const hidden: #(String, String)
- : Content is clipped if necessary to fit the inline dimension in the padding box. No scrollbars are provided.
pub const revert_layer: #(String, String)
pub const scroll: #(String, String)
- : Content is clipped if necessary to fit in the padding box in the inline dimension. Browsers display scrollbars whether or not any content is actually clipped. (This prevents scrollbars from appearing or disappearing when the content changes.) Printers may still print overflowing content.
pub fn var(variable: String) -> #(String, String)
Enter a variable name to be used for overflow-inline.
It will be wrapped in var() and have -- prepended.