css中white-space的值pre-wrap

css中white-space的值pre-wrap

Ezra
2022-05-17 / 0 评论 / 197 阅读 / 正在检测是否收录...

CSS中white-space属性设置如何处理元素内的空白。
默认值normal表示:空白会被浏览器忽略。
style="white-space:pre-wrap"可以解决textarea中传过来的n不被识别的问题但是代码中间不能有空格
l39lpm1n.png

0

评论 (0)

取消