Comments (2)
It is more a feature than a bug, and it happens because most instances of "left" and "right" are just swapped, without caring about context. It is easy to circumvent by naming the images differently. But I can see the usefulness of having this as an option, and I've started an implementation that fixes it.
from flipcss.
I've added an option to not swap left/right inside "url()". I've also added an option to not swap left/right in selectors (e.g. ".pull-left"). You can trigger both from the command line, as well as through the API (I've updated the docs this time :)).
Please note that default behavior is like it used to be, to keep it backwards compatible. It will also swap these words in other places. I am unsure if this is a problem, as the only place I can think of at the moment is in comments. (I've made a note about looking into the specific case of comments later.)
from flipcss.
Related Issues (9)
- Support RTL>LTR HOT 1
- No way how to swap pseudo elements from API HOT 2
- doesnt flip when there is a dot in style value HOT 5
- "Left" and "right" keywords matched when substrings
- Refactor tests HOT 1
- Command line support HOT 1
- Clean-only option for command line
- Option to swap :before and :after pseudo elements HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipcss.