<div class="yoko">背景画像のリピート</div>
.yoko{
width: 100%; height: 200px;
margin: 0; padding: 2em;
background-image: url("https://de-sign.work/wp-content/uploads/2020/07/bg-img_sample.jpg");
background-repeat: repeat-x;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.