Thursday, April 28, 2016

CSS rotate image

Rotate an image in image source in html - Stack Overflow

<img src="/image.png" class="rotate90">
CSS:.rotate90 {
   -webkit-transform: rotate(90deg);
   -moz-transform: rotate(90deg);
   -o-transform: rotate(90deg);
   -ms-transform: rotate(90deg);
   transform: rotate(90deg);
} 

No comments: