Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

A SASS library that helps you to easily convert styles from LTR to RTL and RTL to LTR.

License

Notifications You must be signed in to change notification settings

babakfp/sass-easy-direction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SASS Easy Direction

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.

How it works?

You are going to have 3 functions. _(), translate(), translateX() and a mixin _(ltr), _(rtl). Visit the demo file to learn how to use them.

Variables

There is only 1 variable to worry about.

// turn on / off the functionalities of this library.
$is-sass-rtl-active: false !default

How to use

@import "./path/sass-rtl" as *