CSS Flashcards
1
Q
What is background-repeat used for ?
A
It repeats the image in the parent element.
2
Q
What is background-position used for ?
A
To position the image in the parent element.
3
Q
What is background-attachment used for ?
A
Specifies whether the background image should scroll or be fixed
4
Q
What is a Shorthand property ?
A
Specify all the background properties in one single property.
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.