monks/transition_timing_function

The transition-timing-function CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.

Values

pub const ease: #(String, String)
  - : Equal to `cubic-bezier(0.25, 0.1, 0.25, 1.0)`, the default value, increases in velocity towards the middle of the transition, slowing back down at the end.
pub const ease_in: #(String, String)
  - : Equal to `cubic-bezier(0.42, 0, 1.0, 1.0)`, starts off slowly, with the transition speed increasing until complete.
pub const ease_in_out: #(String, String)
  - : Equal to `cubic-bezier(0.42, 0, 0.58, 1.0)`, starts transitioning slowly, speeds up, and then slows down again.
pub const ease_out: #(String, String)
  - : Equal to `cubic-bezier(0, 0, 0.58, 1.0)`, starts transitioning quickly, slowing down as the transition continues.
pub const end: #(String, String)
      - : Same as `jump-end`.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const jump_both: #(String, String)
      - : Includes pauses at both the 0% and 100% marks, effectively adding a step during the transition time.
pub const jump_end: #(String, String)
      - : Denotes a right-continuous function, so that the last jump happens when the animation ends;
pub const jump_none: #(String, String)
      - : There is no jump on either end. Instead, holding at both the 0% mark and the 100% mark, each for 1/n of the duration
pub const jump_start: #(String, String)
      - : Denotes a left-continuous function, so that the first jump happens when the transition begins;
pub const linear: #(String, String)
  - : Equal to `cubic-bezier(0.0, 0.0, 1.0, 1.0)`, transitions at an even speed.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for transition-timing-function

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const start: #(String, String)
      - : Same as `jump-start`.
pub const step_end: #(String, String)
  - : Equal to `steps(1, jump-end)`
pub const step_start: #(String, String)
  - : Equal to `steps(1, jump-start)`
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document