我正在使用这个 css 来设置元素从右到左的位置
body
{
background-color: white !important;
direction: rtl;
}
但文本仍然是从左到右开始的 我我是它显示 "Hello"
我需要显示 "olleH"
,我该怎么做?
最佳答案
请使用这个:
body {
unicode-bidi:bidi-override;
direction:rtl;
}
<body dir="rtl">
text in right-to-left language
</body>
关于html - 从右到左显示文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57142424/