[CSS]repeat-xで背景画像に横に繰り返しを指定する
書式
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>
Coding Changes the World
書式
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>