A SASS library that helps you to easily convert styles from LTR to RTL and RTL to LTR. You can create multi-language websites easily with this library, without worrying about the CSS that you write.
You are going to have 3 functions. _()
, translate()
, translateX()
and a mixin _(ltr)
, _(rtl)
. Visit the demo file to learn how to use them.
There is only 1 variable to worry about.
// turn on / off the functionalities of this library.
$is-sass-rtl-active: false !default
@import "./path/sass-rtl" as *