Lesson 20 of 50
cssTransitions
9 mins
Course progress40%
What you'll learn
Keep these ideas in mind as you work through the lesson.
Lesson 20 of 50
css9 mins
Keep these ideas in mind as you work through the lesson.
Transitions animate between two states over a period.
transition: property duration timing-function delay;
Common properties: opacity, transform, color, background-color.
a {
color:#0066cc; text-decoration:none; transition:color .2s ease;
}
a:hover { color:#004499; }