[CSS]roundで背景画像のサイズを調整する
書式
background: url(./img/xxx) round;
roundを使用する場合、右端に丸の一部が表示されていません。
使用例
<style>
.cft {
background: url(./img/test.png) round;
height: 150px;
width: 250px;
border: 2px solid #000;
}
</style>
<div class="cft"></div>
<style>
.cft {
background: url(./img/test.png) round;
height: 150px;
width: 250px;
border: 2px solid #000;
}
</style>
<div class="cft"></div>
<style> .cft { background: url(./img/test.png) round; height: 150px; width: 250px; border: 2px solid #000; } </style> <div class="cft"></div>