Gradients - Unprefixed Syntax Flashcards

1
Q

In the unprefixed syntax, how would we specify a gradient direction that starts on the left side of the box and ends on the right side?

A

background: linear-gradient(to right, color1, color2);

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

In the unprefixed syntax, an angle of 0deg defines what gradient direction?

A

bottom to top

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

The new, unprefixed syntax for gradients is currently supported in what browsers?

A

IE10, Fireforx 16+, and Opera 12.1+

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

T/F: We still need to use both the prefixed and unprefixed syntax until the WebKit-based browsers support the new syntax.

A

True

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

What is the new order of values in the unprefixed syntax?

A

shape, size, at position, color stops

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

In the unprefixed syntax, what new keyword allows us to change the position of the radial gradient?

A

at

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

In the unprefixed syntax, if we only use one position value, the second value will default to _____

A

center

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