Written by me@grafxflow
I recently had to create a multilingual website, which was fine apart form the Arabic language. The text had to read from right to left. The answer was to use the direction RTL. Here is it in use.
| Code | Output |
|
He said "שלם" (shalom) to me. |
He said "שלם" (shalom) to me. |
Here is the usage in CSS.
p {
direction:rtl;
}
Founder, Grafxflow
I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. I build lighting-fast dynamic content engines with Laravel, Winter CMS and Tailwind CSS. Thanks for stopping by!