PJCHENder 未整理筆記

[CSS] 文字換行 word-break

2018-09-13

[CSS] 文字換行 word-break

@(CSS)

強制換行:

1
2
word-break: break-all;
overflow-wrap: break-word; // for firefox

See the Pen [Note] Word-Break and Overflow-Wrap by PJCHEN (@PJCHENder) on CodePen.

掃描二維條碼,分享此文章