I found the following code while reading a related question at this page: Rotate a webpage clockwise or anticlockwise
html {
     -webkit-transform: rotate(180deg);
     -moz-transform: rotate(180deg);
}
--
My question is how do I set this CSS via JavaScript?
When a visitor clicks on an image, I want to use JavaScript to modify the HTML tag's style using the settings above.
Thanks in advance.
 
     
     
     
     
     
    