CSS Background Properties - Part 2

Notes:

CSS Background Properties:

CSS background-color property:
It is used to specify the background color for an html element
Values:
color name | hex color value | rgb(0-255,0-255,0-255) | rgba(0-255,0-255,0-255,0-1) | transparent

CSS background-image property:
It is used to specify the background image for an html element
Values: url(‘image path’) | none

CSS background-repeat property:
It is used to specify, how the background image to be repeated
Values: repeat | repeat-x | repeat-y | no-repeat

Interview Questions: