<p><wbr>test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test</wbr></p>
p{
text-align:justify;
word-break:break-word;
}
wbr:after{
content: "\00200B"
}
/00200B 这个是什么意思?为什么用他就能智能换行?
才发现有<wbr>自动换行这玩意,不过好像没啥用,有相关css样式可以代替
这个也不是智能换行,你把所有test之间的空格去掉,一样会超出宽度
你应该注意的是
:after
这个元素的使用,这个content里面应该只是某种特殊字体的定义,不需要纠结太多