Answers for "flip image using rotate css"

CSS
3

css flip image horizontally

.flip-horizontally {
  transform: scaleX(-1);
}
Posted by: Guest on May-17-2021
10

image rotate css

div {
  width: 80px;
  height: 80px;
  background-color: skyblue;
}

.rotated {
  transform: rotate(45deg); /* Equal to rotateZ(45deg) */
  background-color: pink;
}
Posted by: Guest on April-29-2020

Browse Popular Code Answers by Language