[CSS]repeat-xで背景画像に横に繰り返しを指定する

2021年10月4日

書式
background: url(./img/xxx.png) repeat-x;
使用例

<style>
  .cft {
    background: url(./img/test.png) repeat-x;
    height: 150px;
    width: 250px;
    border: 2px solid #000;
  }
</style>
<div class="cft"></div>

 

CSS

Posted by arkgame