css - CSS3 bi-directional Flipper -


i'm looking css converter ltr rtl supports new css3 transforms

for example:

pre {     width: 33em;     border: solid red;      -webkit-transform: translate(100px) rotate(20deg);     -webkit-transform-origin: 60% 100%;      -o-transform:translate(100px) rotate(20deg);     -o-transform-origin:60% 100%;      transform: translate(100px) rotate(20deg);     transform-origin: 60% 100%; } 

this example represents ltr css, want tool give me rtl version of provided css

i believe rtlcss looking for, output produced example input:

pre {      width: 33em;      border: solid red;      -webkit-transform: translate(-100px) rotate(-20deg);     -webkit-transform-origin: 40% 100%;      -o-transform:translate(-100px) rotate(-20deg);      -o-transform-origin:40% 100%;      transform: translate(-100px) rotate(-20deg);     transform-origin: 40% 100%; } 

jsfiddle: ltr version

jsfiddle: rtl version

direct links:

github: https://github.com/mohammadyounes/rtlcss

npm: https://www.npmjs.org/package/rtlcss


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -