【发布时间】:2018-05-22 12:32:02
【问题描述】:
我有一些文本,末尾有一个大括号,包含的 div 具有 Css 属性direction: rtl;。这导致右大括号作为左大括号出现在句子的开头。
所以
Some text with (braces)
变成
(Some text with (braces
#strange-behaviour {
direction: rtl;
}
<div id="strange-behaviour">
Some text with (braces)
</div>
我的问题
如何激励右大括号保持右大括号?
【问题讨论】:
-
在 FF 上看起来不错,但 chrome 和 safari 并不好。看起来像一个错误,但已经回答了 SO
-
@Huangism 不知何故复制了。 Ujnimz 的答案更适合我的问题。
标签: css