https://github.com/ded/jquery.rtl.js
jQuery adapter plugin that automatically mirrors all your CSS properties
https://github.com/ded/jquery.rtl.js
Last synced: 12 months ago
JSON representation
jQuery adapter plugin that automatically mirrors all your CSS properties
- Host: GitHub
- URL: https://github.com/ded/jquery.rtl.js
- Owner: ded
- Created: 2011-06-16T01:13:22.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2011-06-16T01:15:06.000Z (about 15 years ago)
- Last Synced: 2025-04-11T15:11:19.343Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 92.8 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jQuery.rtl.js
------------
a jQuery adapter plugin that automatically mirrors all your CSS properties that run through jQuery's `css()` and `animate()` methods. Check it out.
Code that looks like this:
```js
$('.content').css({
margin: '1px 2px 3px 4px',
paddingLeft: '5px',
right: '6px',
'text-decoration': 'left'
})
.animate({
right: 50
})
```
automatically runs through jQuery as this:
``` js
$('.content').css({
margin: '1px 4px 3px 2px',
paddingRight: '5px',
left: '6px',
'text-decoration': 'right'
})
.animate({
left: 50
})
```