Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <img id="image" src="http://lorempixel.com/400/200/" />
  <button onclick="myFunction()">Rotate image</button>
</body>
</html>
 
.rotated-image {
  -webkit-transform: rotate(20deg);
  transform: rotate(20deg)
}
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers