Transitions & Animations Basics.
To create a transition effect, you must specify two things:
the CSS property you want to add an effect to
the duration of the effect (If the duration part is not specified, the transition will have no effect, because the default value is 0).
...
shohan777.hashnode.dev8 min read