monks/animation_name

The animation-name CSS property specifies the names of one or more {{cssxref(“@keyframes”)}} at-rules that describe the animation to apply to an element. Multiple @keyframes at-rules are specified as a comma-separated list of names. If the specified name does not match any @keyframes at-rule, no properties are animated.

It is often convenient to use the shorthand property {{cssxref(“animation”)}} to set all animation properties at once.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const none: #(String, String)
  • : A special keyword denoting no keyframes. It can be used to deactivate an animation without changing the ordering of the other identifiers, or to deactivate animations coming from the cascade.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for animation-name

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

Search Document