什么是text-align:justify-all?

问题描述 投票:3回答:1

在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>
html css html5 css3 w3c
1个回答
3
投票

检查W3C规范,任何主要浏览器https://www.w3.org/International/tests/repo/results/text-align似乎都不支持它。

你可以尝试text-align-last。它确实有浏览器支持,但它不是很好http://caniuse.com/#feat=css-text-align-last

© www.soinside.com 2019 - 2024. All rights reserved.