css-flip works only from Node.js, but can be applied to any CSS stylesheet.
The library simply flips text and various other horizontal alignments and displays.
It doesn't modify their content, but merely replaces left with right and switches various alignment and positioning styles for other non-text related CSS values.
Supported CSS Properties:
background-position
background-position-x
border-bottom-left-radius
border-bottom-right-radius
border-color
border-left
border-left-color
border-left-style
border-left-width
border-radius
border-right
border-right-color
border-right-style
border-right-width
border-style
border-top-left-radius
border-top-right-radius
border-width
box-shadow
clear
direction
float
left
margin
margin-left
margin-right
padding
padding-left
padding-right
right
text-align
transition
transition-property
What is new in this release:
- Only flip background-position single value if it's a percentage.
- Support all valid CSS numbers for background-position.
- Only flip background-position X value of 0% to 100%.
- Add support for transition and transition-property.
- Drop support for non-standard border-radius.
- Update to 'css' 2.0.0.
Requirements:
- Node.js
Comments not found