[CSS]repeat-yで背景画像に縦に繰り返しを指定する
書式
background: url(./img/xxx) repeat-y;
使用例
<style>
.cft {
background: url(./img/test.png) repeat-y;
height: 150px;
width: 250px;
border: 2px solid #000;
}
</style>
<div class="cft"></div>
Coding Changes the World
書式
background: url(./img/xxx) repeat-y;
使用例
<style>
.cft {
background: url(./img/test.png) repeat-y;
height: 150px;
width: 250px;
border: 2px solid #000;
}
</style>
<div class="cft"></div>