From 559b90f944fe9cfd463c1be3f89cf5d7cf7f8cb4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 3 Mar 2014 23:50:04 -0800 Subject: Rename RTL files and add some basic docs --- docs/css.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'docs/css.html') diff --git a/docs/css.html b/docs/css.html index e1af6985e..8baf8f42d 100644 --- a/docs/css.html +++ b/docs/css.html @@ -3345,3 +3345,28 @@ a { Bootstrap for Sass

+ + + + +
+

RTL

+

As of Bootstrap 3.2, a right-to-left version of Bootstrap ships as part of the repository. It's powered by Twitter's CSS Flip project and is generated via our Gruntfile.

+ +

How to use

+

Bootstrap is by default a left-to-right project. For right-to-left projects, you'll need to set your language and replace the default Bootstrap CSS with an RTL version. First, set your language and text direction:

+{% highlight html %} + + +{% endhighlight %} +

Then, include the right-to-left CSS file in place of the default Bootstrap CSS:

+{% highlight html %} + + +{% endhighlight %} +

Alternatively, you may use the minified RTL file, bootstrap-rtl.min.css.

+ +

CSS Flip

+

CSS Flip is a project for converting left-to-right CSS files into right-to-left CSS files. We use it in our Gruntfile to automate the generation of Bootstrap's RTL CSS files.

+
-- cgit v1.2.3