0
0
CSSmarkup~5 mins

Transition timing functions in CSS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a transition-timing-function in CSS?
It controls the speed curve of a transition, deciding how the intermediate states of the transition are calculated over time.
Click to reveal answer
beginner
Name four common predefined transition-timing-function values.
  • ease
  • linear
  • ease-in
  • ease-out
Click to reveal answer
beginner
What does the linear timing function do in a CSS transition?
It makes the transition progress at a constant speed from start to end, like a steady walk without speeding up or slowing down.
Click to reveal answer
intermediate
Explain the difference between ease-in and ease-out timing functions.

ease-in starts slow and speeds up towards the end.<br>ease-out starts fast and slows down towards the end.

Click to reveal answer
intermediate
How can you create a custom transition speed curve in CSS?
By using the cubic-bezier(x1, y1, x2, y2) function with four numbers between 0 and 1 to define the curve shape.
Click to reveal answer
Which transition-timing-function makes the transition move at a constant speed?
Aease
Blinear
Cease-in
Dease-out
What does ease-in do to the speed of a transition?
AStarts slow and speeds up
BStarts fast and slows down
CConstant speed
DJumps instantly
Which CSS function allows you to customize the transition speed curve?
Asteps()
Blinear()
Cease()
Dcubic-bezier()
If you want a transition to start fast and slow down at the end, which timing function do you use?
Aease-in
Blinear
Cease-out
Dease
What is the default transition-timing-function value if none is specified?
Aease
Bstep-start
Cease-in-out
Dlinear
Describe what a transition timing function does and why it matters in web design.
Think about how a car accelerates or brakes smoothly.
You got /3 concepts.
    List and explain at least three predefined CSS transition timing functions and when you might use each.
    Consider how the speed changes during the transition.
    You got /5 concepts.