If you `@import "compass";` at the top of the file, you can replace both of these lines with just: `@include transform(scale(-1, 1));`