change all the css to be rtl

Im trying to build a application in a right to left language and in order to that i need to change all of the css to be rtl. im new to yii2 and can’t find out how to do that.

thank you so much for your help

You just have to put "rtl" in the body (/layouts/main.php) like this :



<body dir="rtl">


Your application will be only in rtl ?

There is Rtl bootstrap, you can use it

Foundation is RTL-ready.