transition: all 0.35s ease-in-out;
ease = starts slow , speeds in middle and slow again in the end.
ease-in = slow in the beginning , speeds up in the end.
ease-out = speeds in the beginning, slow in the end.
linear = as the name suggest, i.e. constant speed throughout the animation.
ease-in-out = starts slow, fastest in the middle , slow again in the end.
DIFFERENCE BETWEEN EASE & EASE-IN-OUT :
ease is like ease-in-out , but in ease the starting time of speeding
is less than the starting time of speeding in ease-in-out.
That means in ease the animation will start speeding before the animation
speeds in ease-in-out.
.thing {
/* The default, as in, you get this without defining anything */
transition-timing-function: ease;
/* Also the same as */
transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}
ease = starts slow , speeds in middle and slow again in the end.
ease-in = slow in the beginning , speeds up in the end.
ease-out = speeds in the beginning, slow in the end.
linear = as the name suggest, i.e. constant speed throughout the animation.
ease-in-out = starts slow, fastest in the middle , slow again in the end.
DIFFERENCE BETWEEN EASE & EASE-IN-OUT
transition: all .35s ease-in-out;
nouman
.SlickReact__Card {
transition: transform 550ms;
}
.SlickReact__Card:hover {
box-shadow: 20px 20px 20px 3px rgb(0 0 0 / 3%);
-webkit-transform: translateY(-4px);
transform: translateY(-4px);
}