monks/clear

The clear CSS property sets whether an element must be moved below (cleared) floating elements that precede it. The clear property applies to floating and non-floating elements.

Values

pub const both: #(String, String)
  • : Is a keyword indicating that the element is moved down to clear past both left and right floats.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const inline_end: #(String, String)
  • : Is a keyword indicating that the element is moved down to clear floats on end side of its containing block, that is the right floats on ltr scripts and the left floats on rtl scripts.
pub const inline_start: #(String, String)
  • : Is a keyword indicating that the element is moved down to clear floats on start side of its containing block, that is the left floats on ltr scripts and the right floats on rtl scripts.
pub const left: #(String, String)
  • : Is a keyword indicating that the element is moved down to clear past left floats.
pub const none: #(String, String)
  • : Is a keyword indicating that the element is not moved down to clear past floating elements.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for clear

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const right: #(String, String)
  • : Is a keyword indicating that the element is moved down to clear past right floats.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document