css是如何实现在页面文字不换行,自动换行

2025-05-18 08:51:15
推荐回答(1个)
回答(1):

不换行:white-space:nowrap;
换行:word-wrap:break-word;
还有个英文或数字的 强制换行 :word-break:break-all;