Usage
Parameters
Milliseconds before starting the transition
Duration of the transition in milliseconds
An easing function that controls the animation curve
The axis along which to slide. Use
'y' for vertical sliding (height) or 'x' for horizontal sliding (width)Example with parameters
Notes
Theslide transition works best with elements that have a default display value of block, inline-block, flex, or grid. It may not work correctly with elements that have display: contents, display: inline, or display: table.