垂直文本方向 [英] Vertical Text Direction
本文介绍了垂直文本方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在尝试文本沿垂直方向走,就像我们可以做的ms字表,但到目前为止我只能做到这个...我不满意,因为它是一个旋转的盒子...有没有方法有实际的垂直方向文本?
I have been trying text to go in a vertical direction like we can do in ms-word tables but so far I have only been able to do THIS... which I am not happy with because it's a box rotated... Isn't there a way to have actual vertical direction text?
我只设置旋转到305度在演示,这不会使文本垂直。
I only set the rotation to 305 degrees in the demo which doesn't make the text vertical. 270deg
will but I only made the demo to show rotation.
推荐答案
替代方法: http://www.thecssninja.com/css/real-text-rotation-with -css
p { writing-mode: tb-rl; }
这篇关于垂直文本方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文