Generate CSS file from ltr to rtl
Generate CSS file from rtl to ltr
Usage Example:
npm install css-flip-auto -g
- From Package Control 2.Download (https://github.com/junyuecao/sublime-cssrtl/archive/master.zip) unzip to the package folder of sublime text
There are two types of exception - @noflip and @replace
From:
p {
/*@noflip*/ float: left;
clear: left;
}To:
p {
float: left;
clear: right;
}From:
/*@noflip*/
p {
float: left;
clear: left;
}To:
p {
float: left;
clear: left;
}Replace to custom rule.
From:
p {
/*@replace: -32px -32px*/ background-position: -32px 0;
/*@replace: ">"*/ content: "<";
}To:
p {
background-position: -32px -32px;
content: ">";
}- background-position
- background-position-x\n border-bottom-left-radius
- border-bottom-right-radius
- border-color
- border-left
- border-left-color
- border-left-style
- border-left-width
- border-radius
- border-right
- border-right-color
- border-right-style
- border-right-width
- border-style
- border-top-left-radius
- border-top-right-radius
- border-width
- box-shadow
- clear
- direction
- float
- left
- margin
- margin-left
- margin-right
- padding
- padding-left
- padding-right
- right
- text-align
- transition -transition-property
Thanks to: (https://github.com/twitter/css-flip)
