JSFiddle - React, Tailwind, and code Playground
HTML
<img id='pic' src='http://content.mycutegraphics.com/graphics/household/cup-yellow.png'>
<img id='pic_orig' src='http://content.mycutegraphics.com/graphics/household/cup-yellow.png'>
CSS
#pic{
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
margin-top: 50px;
}
#pic_orig{
margin-top: 100px;
}