Page Inspect
Internal Links
8
External Links
6
Images
4
Headings
6
Page Content
Title:RTLCSS
Description:RTLCSS is a framework for transforming Cascading Style Sheets (CSS) from Left-To-Right (LTR) to Right-To-Left (RTL).
HTML Size:10 KB
Markdown Size:1 KB
Fetched At:November 18, 2025
Page Structure
h1RTLCSS
h2Automagically works!
h2CSS Level 3
h2Processing Directives
h2String Maps
h1Don't repeat yourself!
Markdown Content
RTLCSS
-
- Home
- Docs
- RTLCSS Online
- CDN
# RTLCSS
Framework for converting Left-To-Right (LTR) Cascading Style Sheets(CSS) to Right-To-Left (RTL)
## **Automagically** works!
* * *
## CSS Level 3
It's more than swapping left with right, RTLCSS provides Full Support for CSS3 properties.
.selector {background }
## Processing Directives
Powerful set of directives to manage the conversion process right from within your CSS.
/\*rtl:\*/
## String Maps
Customize bi-directional string maps to match your convention and easily control URL updates.
.selector {...}
html { direction:ltr;
font-family: "Droid Sans", sans-serif/\*rtl:prepend:"Droid Arabic Kufi",\*/;
font-size:16px/\*rtl:14px\*/; }
# Don't repeat yourself!
Instead of authoring two sets of CSS files, one for each language direction. Just author the LTR version and RTLCSS will auto create the RTL counterpart for you!
Get Started
html { direction:rtl;
font-family:"Droid Arabic Kufi", "Droid Sans", sans-serif;
font-size:14px; }
Report an issue | View on GitHub | Follow Me on GitHub and Twitter
Created by Mohammad Younes
www.isResponsive.com
www.alertifyjs.com