monks/transition_behavior

The transition-behavior CSS property specifies whether transitions will be started for properties whose animation behavior is discrete.

Values

pub const allow_discrete: #(String, String)
  • : Transitions will be started on the element for discrete animated properties.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : Transitions will not be started on the element for discrete animated properties.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for transition-behavior

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 transition-behavior. It will be wrapped in var() and have -- prepended.

Search Document