Transitions Flashcards

1
Q

4 aspects controlled in CSS transitions

A

1) Which CSS properties transition
2) How long a transition lasts
3) How much time there is before a transition begins
4) How a transition accelerates

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

transition-property

A

Declares which property of the element is going to transition

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

transition-duration

A

Declares how long the property should take to transition

Duration is specified in seconds or milliseconds, such as 3s, 0.75s, 500ms. The default value is 0s, or instantaneous, as if there is no transition.

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

transition-delay

A

Delay specifies the time to wait before starting the transition.

As with the duration property, the default value for transition-delay is 0s, which means no delay.

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

transition-timing-function

A

Describes the pace of the transition

There are a bunch of predefined values, you can find here: https://developer.mozilla.org/en-US/docs/Web/CSS/transition-timing-function

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

transition (property)

A

This shorthand property describes each aspect of the transition puzzle in a single declaration.

The properties must be specified in this order:
transition-property, transition-duration, transition-timing-function, transition-delay.

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

transition-property: all

A

This will apply the same values to all properties.

all means every value that changes will be transitioned in the same way. You can use all with the separate transition properties, or the shorthand syntax.

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