<!-- Example: Arabic language with direction set to RTL -->
<!-- Example: Arabic language with direction set to RTL -->
<htmllang="ar"dir="rtl">
<htmllang="ar"dir="rtl">
{% endhighlight %}
{% endhighlight %}
<p>Then, include the right-to-left CSS file in place of the default Bootstrap CSS:</p>
<p>Then, include the right-to-left CSS file <strong>instead of</strong> the default Bootstrap CSS:</p>
{% highlight html %}
{% highlight html %}
<!-- Bootstrap RTL -->
<!-- Bootstrap RTL -->
<linkrel="stylesheet"href="bootstrap-rtl.css">
<linkrel="stylesheet"href="bootstrap-rtl.css">
{% endhighlight %}
{% endhighlight %}
<p>Alternatively, you may use the minified RTL file, <code>bootstrap-rtl.min.css</code>.</p>
<p>Alternatively, you may use the minified RTL file, <code>bootstrap-rtl.min.css</code>.</p>
<divclass="bs-callout bs-callout-danger">
<h4>Do not use in combination with <code>bootstrap.css</code></h4>
<p><code>bootstrap-rtl.css</code> must not be used together with <code>bootstrap.css</code>. Use either one or the other, but not both. <code>bootstrap-rtl.css</code> includes all of Bootstrap's styles, including those not affected by writing direction.</p>
</div>
<h2id="rtl-css-flip">CSS Flip</h2>
<h2id="rtl-css-flip">CSS Flip</h2>
<p><ahref="https://github.com/twitter/css-flip">CSS Flip</a> 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.</p>
<p><ahref="https://github.com/twitter/css-flip">CSS Flip</a> 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.</p>