我想让我的肚脐,但旋转文本后,垂直文本太远的水平,有帮助吗?
.vertical {
float:right;
writing-mode:tb-rl;/*IE*/
writing-mode:vertical-lr;/* OPera/webkit*/
writing-mode:sideways-lr;/* should be the one */
}
.horizontal {
float:right;
line-height: 0em;
}
li {
display:inline
我试图创建垂直菜单显示,如在图像中,但正如你可以看到,在设计字体也在垂直位置,所以如何能做到这一点?
1. i want to create vertical menu using ul li , with vertical single font
2. i try to rotate li tag but not set
3. also i want to make this menu responsive menu
我在div中有一个旋转的文本。我想将跨度与div的“右”(参见红色箭头)对齐
<div class="rotateText">
<span>This is a rotated multiline text please display it in a correct way. This is a rotated multiline text please display it in a correct way</span>
</div>
.rotateText{
width: 200px;
h
是否有可能获得用户的写作模式?我想知道文本是RTL还是LTR和TB。
看起来我可以从computedValue获得方向和写作模式。
#div2 {
writing-mode: vertical-lr;
}
#div1 {
direction: rtl;
}
p {
background-color: #FFEECC;
}
<p>While the characters in most scripts are written from left to right, certain scripts are written from right to left.<