Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The method for duplicating a background image in CSS is by using the background-repeat property. This property allows you to specify how the background image should be repeated. You can set the value to repeat-x to repeat the image horizontally, repeat-y to repeat it vertically, or repeat to repeat it both horizontally and vertically. For example:

background-image: url('image.jpg'); background-repeat: repeat-x;