CSS Animation Flashcards

1
Q

Create an animation with what special keyword

A

@keyframes animation-name { … }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Link to an animation called ‘slider’ from a style.

A

animation-name: slider;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Make the animation repeat indefinitely

A

animation-iteration-count: infinite;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Have the animation use easing.

A

animation-timing-function: ease-in; // ease-in-out etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Animation should start next iteration from end position (or start position)

A

animation-fill-mode: forwards; // backwards

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Animation should reverse its motion for the next iteration (or keep it’s motion the same)

A

animation-direction: alternate; // normal or reverse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

If animating the hand of a stopwatch, what animation property would you use and how?

A

animation-timing-function: steps(12, end);

Use the special steps() function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly