Skip to content
Frontend

CSS Animations And Transitions

Master CSS Animations And Transitions with 120 free flashcards. Study using spaced repetition and focus mode for effective learning in Frontend.

120 cards · ~60 min · Advanced · Updated

Sample card

What is the main purpose of CSS transitions?

To animate smoothly between two states of a property when it changes, interpolating intermediate values over time.

Share: 𝕏 Twitter LinkedIn WhatsApp

🎯 What You'll Learn

Preview cards

Q · 1 of 120

What is the main purpose of CSS transitions?

Q · 2 of 120

What is the main purpose of CSS animations?

Q · 3 of 120

Which CSS property enables a transition?

+9 more cards →

Preview Questions

12 shown

What is the main purpose of CSS transitions?

Show ▼

To animate smoothly between two states of a property when it changes, interpolating intermediate values over time.

What is the main purpose of CSS animations?

Show ▼

To animate an element through multiple keyframes over time, including loops and complex multi-step sequences, without needing state changes.

Which CSS property enables a transition?

Show ▼

transition: ; shorthand for transition-property, transition-duration, transition-timing-function, and transition-delay.

What is transition-property?

Show ▼

A longhand that names the CSS property (or "all") whose changes should be animated. Defaults to "all".

What is transition-duration?

Show ▼

A longhand that sets how long the transition runs, in seconds (0.3s) or milliseconds. Default is 0s, meaning no transition.

What is transition-delay?

Show ▼

A longhand that sets how long to wait after the change before the transition begins. Default is 0s.

What is transition-timing-function?

Show ▼

A longhand defining the acceleration curve of the transition: ease, linear, ease-in, ease-out, ease-in-out, steps(), cubic-bezier().

What is the default timing function for transitions?

Show ▼

ease (equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0)).

What does the cubic-bezier() function take?

Show ▼

Four numbers P1x, P1y, P2x, P2y in the range 0–1 (for x) defining the control points of a cubic Bézier curve describing speed over time.

What does the steps() timing function do?

Show ▼

Divides the animation into a fixed number of discrete jumps instead of a smooth interpolation. steps(4, end) produces 4 visible frames.

What does steps(n, jump-end) mean?

Show ▼

The animation jumps at the END of each step; the element shows the start value until each step completes, then snaps to the next value.

What does steps(n, jump-start) mean?

Show ▼

The animation jumps at the START of each step; the first value change is shown immediately and n-1 more jumps follow.

🎓 Start studying CSS Animations And Transitions

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in Frontend

📖 Learning Resources