在css中属性有text-align: justify-all什么作用?在MDN 上,他们建议它也证明最后一行的内容是合理的。但是我在 chrome 浏览器中没有看到任何事情发生:
<p style="text-align: justify-all">
one two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four fiveone two three four five
</p>Run Code Online (Sandbox Code Playgroud)
检查 W3C 规范,它似乎不受任何主要浏览器https://www.w3.org/International/tests/repo/results/text-align 的支持。
你可以试试 text-align-last。它确实有浏览器支持,但不是很好http://caniuse.com/#feat=css-text-align-last