在Twitter引导程序3中,我在div中添加了一些图形,并为默认页面添加了“右拉”。 当我改变方向为RTL文本等成功翻转,但右拉不切换到左拉。 我该怎么做才能让LTR右边的图标和左边的RTL?Twitter Bootstrap右拉和左拉用于RTL语言
(当然可以添加javascript代码并检查页面主体中的所有拉取权限,并将其更改为左拉,但我不喜欢JS解决方案。我试过this,但它没有帮助。)
小提琴: http://jsfiddle.net/mavent/dKPE3/1/
<div id="div1" class="alert alert-info">This is my fancy description <span class="badge badge-info">122</span><a class="btn btn-lg pull-right" style="padding:0;" data-toggle="collapse" data-target="#aaa"><i class="glyphicon glyphicon-chevron-down twitp_toggleable_chevron"></i></a>
</div>
<div id="div2" class="alert alert-info">هذا هو بلدي وصف الهوى <span class="badge badge-info">122</span><a class="btn btn-lg pull-right" style="padding:0;" data-toggle="collapse" data-target="#aaa"><i class="glyphicon glyphicon-chevron-down twitp_toggleable_chevron"></i></a>
</div>
如果您在Bootstrap v3.2.0(https://github.com/twbs/bootstrap/pull/12840)中使用即将推出的RTL支持,它当前会扭转'.pull-left/right'的方向。 – cvrebert
@trante简而言之,当文本正确的时候,你想要做的就是将图形向左移动,对吧? –