Usage of background-repeat property in CSS

JavascriptWeb DevelopmentFront End Scripts

The background-repeat property is used to control the repetition of an image in the background. You can use no-repeat value for the background-repeat property if you don't want to repeat an image, in this case, the image will display only once.


You can try to run the following code to learn how to work with the background-repeat property:

         body {
            background-image: url("/css/images/css.jpg");
            background-repeat: repeat;
      <p>Tutorials Point</p>
Updated on 30-Jan-2020 08:52:21