Complete the code to make the background image repeat horizontally only.
background-image: url('pattern.png'); background-repeat: [1];
repeat-y which repeats vertically.no-repeat which stops repetition.The repeat-x value makes the background image repeat only horizontally.
Complete the code to prevent the background image from repeating.
background-image: url('texture.jpg'); background-repeat: [1];
repeat which repeats the image both horizontally and vertically.repeat-x or repeat-y which repeat only in one direction.The no-repeat value stops the background image from repeating.
Fix the error in the code to make the background image repeat vertically only.
background-image: url('dots.png'); background-repeat: [1];
repeat-x which repeats horizontally.no-repeat which stops repetition.The repeat-y value repeats the background image vertically only.
Fill both blanks to make the background image repeat only horizontally and position it at the top right.
background-image: url('stripe.png'); background-repeat: [1]; background-position: [2];
repeat-y instead of repeat-x.center instead of top right.repeat-x repeats the image horizontally, and top right places it at the top right corner.
Fill all three blanks to make the background image repeat vertically, positioned at the bottom left, and sized to cover the entire element.
background-image: url('grid.png'); background-repeat: [1]; background-position: [2]; background-size: [3];
repeat-x instead of repeat-y.top right instead of bottom left.contain instead of cover.repeat-y repeats the image vertically, bottom left positions it there, and cover scales the image to cover the element.