mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
Docs: Add RTL
This commit is contained in:
parent
5e809bed01
commit
868e5d20cb
1 changed files with 17 additions and 0 deletions
|
@ -52,6 +52,7 @@
|
|||
<li><a href="#themes" class="secondary">Themes</a></li>
|
||||
<li><a href="#customization" class="secondary">Customization</a></li>
|
||||
<li><a href="#classless" class="secondary">Class-less version</a></li>
|
||||
<li><a href="#rtl" class="secondary">RTL</a></li>
|
||||
</ul>
|
||||
</details>
|
||||
<details open>
|
||||
|
@ -310,6 +311,22 @@
|
|||
|
||||
</section><!-- ./ Docs: Classless -->
|
||||
|
||||
<!-- Docs: RTL -->
|
||||
<section id="rtl">
|
||||
<hgroup>
|
||||
<h2>RTL</h2>
|
||||
<h3>Support for right-to-left text in Pico.</h3>
|
||||
</hgroup>
|
||||
<p>To enable RTL in Pico you need to set <code><i>dir</i>=<u>"rtl"</u></code>on the <code><<b>html</b><</html></code> element.</p>
|
||||
|
||||
<pre><code><em><!doctype html></em>
|
||||
<<b>html</b> <i>dir</i>=<u>"rtl"</u> <i>lang</i>=<u>"ar"</u>>
|
||||
<em>...</em>
|
||||
</<b>html</b>></code></pre>
|
||||
|
||||
<p>The RTL feature is still experimental and will probably evolve.</p>
|
||||
</section><!-- ./ Docs: RTL -->
|
||||
|
||||
<!-- Docs: Container -->
|
||||
<section id="containers">
|
||||
<hgroup>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue