monks/overflow_block
The overflow-block CSS property sets what shows when content overflows the block start and block end edges of a box. This may be nothing, a scroll bar, or the overflow content.
The
overflow-blockproperty 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.
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 block 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 block dimension in the padding box. 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-block.
It will be wrapped in var() and have -- prepended.