how to mirror object through css

.mirror {
  transform: scaleX(-1);
}