[CSS]white-space 値のbreak-spacesの使い方
構文
break-spaces
改行:そのまま
空白とタブ文字:そのまま
テキストの折り返し:折り返す
行末の空白:折り返す
使用例
<style>
.cft {
border: 1px solid #000;
width: 150px;
height: 50px;
background: SkyBlue;
white-space: break-spaces;
}
</style>
<p class="cft">test テスト123456</p>