Animation
Transition
On any change in property listed, will animate into it
Only need to add duration for most basic effect i.e
Transition-property: props that transition
Transition-duration: time it takes, s or ms
Transition-timing-function: bezier curve
Transition delay: time until starts (good for hover if someone just moves past it)
Transition: shorthand for 4
Look at transform origin
Cant transition to width auto
Transforms
Seem to need to put transform
class to make it work
Example
Last updated