mahyuan / Front_end_basics

Anything I can note here about studying
MIT License
1 stars 0 forks source link

css对连续的字符折行 #21

Open mahyuan opened 4 years ago

mahyuan commented 4 years ago

css对连续的字符折行显示时必须先打断,否则会自动查找空格然后进行折行

div {
    white-space: normal;
    word-break: break-all;
}