Which CSS property allows you to define multiple background images for an element?
A). background-multiple
B). background-image
C). background-repeat
D). background-size
How can you position a background image to be centered both horizontally and vertically within its container?
A). background-position: center center;
B). background-position: center;
C). background-position: top left;
D). background-position: bottom right;
How would you create a radial gradient background that transitions from yellow to green?
A). radial-gradient(yellow, green)
B). background: radial-gradient(yellow, green)
C). background-color: radial-gradient(yellow, green)
D). background-color: yellow; background-color: green;
How do you create a repeating background pattern that tiles an image vertically but not horizontally?
A). background-repeat: repeat-y;
B). background-repeat: repeat-x;
C). background-repeat: no-repeat;
D). background-repeat: repeat;
How can you make a background image stay fixed while the content scrolls on the page?
A). background-attachment: fixed;
B). background-attachment: scroll;
C). background-attachment: local;
D). background-attachment: inherit;
How would you layer two background images on top of each other for an element?
A). background: url('image1.jpg'), url('image2.jpg');
B). background-image: url('image1.jpg'), url('image2.jpg');
C). background: url('image1.jpg') url('image2.jpg');
D). background: url('image1.jpg') + url('image2.jpg');
How would you repeat a background image only horizontally along the x-axis?
A). background-repeat: repeat-y;
B). background-repeat: repeat-x;
C). background-repeat: no-repeat;
D). background-repeat: repeat;
Which CSS property repeats a background image vertically and horizontally to fill the entire element?
A). background-size
B). background-repeat
C). background-position
D). background-attachment
What is the purpose of the background-size property in CSS when using multiple background images?
A). To set the color of the background
B). To adjust the size of each background image
C). To create a repeating pattern
D). To add padding to an element
How do you specify an image as a background in CSS?
A). background: url('image.jpg')
B). background-image: url('image.jpg')
C). background-color: url('image.jpg')
D). image-background: url('image.jpg')