正常:
文本超出后
代码:
<div style="display: flex; justify-content: space-between;"> <h3>Sailun S825 Super Single Premium Mixed Service All-Position</h3> <span class="k-icon k-i-close"></span> </div>
如何能让文本超出后自动换行?
限制h3的宽度就行了,比如说在h3标签里面写style=“width:100%;”
试试 white-space: pre-wrap;
white-space: pre-wrap;
特别好,谢谢
word-wrap: break-word;
限制h3的宽度就行了,比如说在h3标签里面写style=“width:100%;”
– 迷失的路 6年前