CSS Background image repeat-x

  • Post category:CSS

Get the code of CSS Background image repeat-x and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.

<div class="image"></div>
.image {
  width: 500px;
  height: 500px;
  background-size: 100px 100px;
  background-repeat: repeat;
  background-image: url("https://cdn.pixabay.com/photo/2018/03/01/14/57/portrait-3190849_1280.jpg");
}