【发布时间】:2017-03-28 17:47:43
【问题描述】:
我有一个 LTR 方向的 Bootstrap v4.0.0 模板,我想将整个模板更改为 RTL 方向,我使用了以下方法:
<html dir="rtl">
<body dir="rtl" >
body { direction:rtl; }
html { direction:rtl; }
https://github.com/MahdiMajidzadeh/bootstrap-v4-rtl (bootstrap-rtl.css)
但这些方法不起作用。
**
像镜子一样完全改变页面方向的最佳方法是什么 水平翻转? (RTL 方向)
**
下面的 CSS 代码,它会改变页面的方向 水平翻转,但之后如何保留它? (请有一个 查看下面的图片)
-moz-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1);
-ms-filter: fliph; /*IE*/
filter: fliph; /*IE*/
【问题讨论】:
标签: html css twitter-bootstrap bootstrap-modal