Your guide on how to use and make the most out of RTLCSS
RTLCSS operates with the following options:
Option | Type | Default | Description |
---|---|---|---|
autoRename | boolean | false | Applies to CSS rules containing no directional properties, it will update the selector by applying String Map. |
autoRenameStrict | boolean | false | Ensures autoRename is applied only if pair exists. |
blacklist | object | {} | An object map of disabled plugins directives, where keys are plugin names and value are object hash of disabled directives. e.g. {'rtlcss':{'config':true}} . |
clean | boolean | true | Removes directives comments from output CSS. |
greedy | boolean | false | Fallback value for String Map options. |
processUrls | boolean or object | false | Applies String Map to URLs. You can also target specific node types using an object literal. e.g. {'atrule': true, 'decl': false} . |
stringMap | array | The default array of String Map | |
useCalc | boolean | false | When enabled, flips background-position expressed in length units using calc . |
The following represents the complete options object:
{ |