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
Milliseconds before starting the transition
Duration of the transition in milliseconds
An easing function that controls the animation curve
The horizontal offset to animate from/to. Can be a number (pixels) or a CSS length string (e.g., ‘100px’, ‘50vw’)
The vertical offset to animate from/to. Can be a number (pixels) or a CSS length string (e.g., ‘100px’, ‘50vh’)
The target opacity value (between 0 and 1) when the element is fully transitioned out