CSS Flashcards

1
Q

What is background-repeat used for ?

A

It repeats the image in the parent element.

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

What is background-position used for ?

A

To position the image in the parent element.

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

What is background-attachment used for ?

A

Specifies whether the background image should scroll or be fixed

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

What is a Shorthand property ?

A

Specify all the background properties in one single property.

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

What is margin collapse ?

A

If one element has a margin that exceed another close element’s margin, the first elment margin is the only one taken into account.

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