希伯来语多语言[数字]

时间:2017-06-14 08:32:34

标签: css multilingual hebrew bidirectional

我不知道如何用希伯来语来表示数字。目前的做法。

.links { 
  direction: rtl; 
  unicode-bidi: bidi-override;
}

enter image description here

2 个答案:

答案 0 :(得分:1)

尝试这样的事情,



body {
  direction: rtl;
}

<h3>
  <span style="color:#999; unicode-bidi: embed">15. This is mine</span>
</h3>
&#13;
&#13;
&#13;

编辑:

这就是你所做的,我会说它不正确。

&#13;
&#13;
span {
  direction: rtl;
  unicode-bidi: bidi-override;
  color: #999;
}
&#13;
<div clas="links">
  <span>15. This is mine</span>
</div>
&#13;
&#13;
&#13;

提供 51

当我使用翻译时。

已翻译

enter image description here

一种示例方法,

&#13;
&#13;
.links span {
  direction: rtl;
  unicode-bidi: bidi-override;
  color: #999;
}

#num {
  unicode-bidi: embed
}
&#13;
<div class="links">
  <span id="num">15.</span>

  <span id="text">This is mine</span>

</div>
<div class="links">
  <span id="num">16.</span>

  <span id="text">This is mine</span>

</div>
&#13;
&#13;
&#13;

答案 1 :(得分:1)

您可以使用以下css来获取它 您可以通过以下链接了解unicode-bidi

<强> unicode-bidi

&#13;
&#13;
.box {
  direction: rtl;
  unicode-bidi: embed;
  color:tomato;
}
&#13;
<div class="box">
  <p>12. Hello</p>
</div>
&#13;
&#13;
&#13;