@mjhenkes/postcss-rtl
Version:
PostCSS plugin for RTL-optimizations
50 lines (48 loc) • 1 kB
JavaScript
// selectors have direction related properties
// should add [dir] prefix to increase priority
module.exports = [
'background',
'background-attachment',
'background-color',
'background-clip',
'-webkit-background-clip',
'background-image',
'background-position',
'background-position-x',
'background-position-y',
'background-repeat',
'background-size',
'border',
'border-bottom',
'border-bottom-color',
'border-bottom-style',
'border-bottom-width',
'border-color',
'border-style',
'border-width',
'border-top',
'border-top-color',
'border-top-style',
'border-top-width',
'border-radius',
'box-shadow',
'clear',
'cursor',
'float',
'margin',
'margin-top',
'margin-bottom',
'padding',
'padding-top',
'padding-bottom',
'transform-origin',
'transform',
'-webkit-transition',
'transition-delay',
'transition-duration',
'transition-property',
'transition-timing-function',
'text-align',
'text-align-last',
'text-shadow',
];