The transform property lets you rotate or flip, but how can you do both at the same time? Say I want to rotate an element 90 degrees and flip it horizontally? Both are done with the same property, so the latter overwrites the former. Here's an example fiddle for convenience:
transform: rotate(90deg);
transform: scaleX(-1);
For future generations, a more complete answer:
I fiddled with jsfiddle, and this worked:
To relate it to your question, the resulting CSS looks like
The properties can be delimited by spaces, like so.
Have a look at this:
for more info here is the link: https://css-tricks.com/snippets/css/flip-an-image/