in transitions animate from the provided values to the element’s default values. out transitions animate from the element’s default values to the provided values.
Usage
Parameters
number
default:"0"
Milliseconds before starting the transition
number
default:"400"
Duration of the transition in milliseconds
function
default:"cubicOut"
An easing function that controls the animation curve
number | string
default:"0"
The horizontal offset to animate from/to. Can be a number (pixels) or a CSS length string (e.g., ‘100px’, ‘50vw’)
number | string
default:"0"
The vertical offset to animate from/to. Can be a number (pixels) or a CSS length string (e.g., ‘100px’, ‘50vh’)
number
default:"0"
The target opacity value (between 0 and 1) when the element is fully transitioned out