WORKING WITH BACKGROUND PROPERTIES Flashcards
It contributes to the overall look and feel of a web page
Background property
A property that displays a solid background color
Background-color
What is the syntax of bacgkround-color
selector{background-color: value;}
A property that displays an image in the background of the specified element
Background image
What is the syntax of the background image?
selector{background-image: value;}
A property designates the starting position of a background image
background-position
What is the syntax of the background-position
selector{background-position: value;}
A property sets the size of the background
Background size
What is the syntax of the background size
selector{background-size: value;}
It is the default value of the background size
auto
The height and width can be specified using this in background size
Length
Set the size of the background image in percent to the size of the parent
percentage
used for the background to automatically cover the entire page or element
cover
used for the background image to be completely visible
contain
A property repeatedly displays an image vertically or horizontally
Background Repeat