0条评论
还没有人评论过~
正常:
文本超出后
代码:
<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>
如何能让文本超出后自动换行?
试试 white-space: pre-wrap;
word-wrap: break-word;
限制h3的宽度就行了,比如说在h3标签里面写style=“width:100%;”