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.easelinearease-inease-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?✗ Incorrect
linear means the speed stays the same throughout the transition.
What does
ease-in do to the speed of a transition?✗ Incorrect
ease-in starts slow and then speeds up towards the end.
Which CSS function allows you to customize the transition speed curve?
✗ Incorrect
cubic-bezier() lets you define a custom curve with four control points.
If you want a transition to start fast and slow down at the end, which timing function do you use?
✗ Incorrect
ease-out starts quickly and slows down at the end.
What is the default
transition-timing-function value if none is specified?✗ Incorrect
The default timing function is ease, which starts slow, speeds up, then slows down again.
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.