99 karma · joined March 30, 2016
<p><label>Rotation<br><input id="rotation" type="range" value="0" max="360" oninput="transformSquare()"></label></p>
<div id="square" style="width:100px;height:100px;background:gold"></div>
<script> const transformSquare = () => square.style.transform = `scale(${scale.value}) rotate(${rotation.value}deg)`; transformSquare(); </script>
1. There must be a meta tag of type viewport 2. The viewport must be defined to have width=device-width 3. The content must be at a scale of 1
It also saved your undo buffer on close so you could still undo next time you opened a file.
img.src = 'https://intra.awesome-corp.com/avatars/john-doe.png';
img.onload = ?
A few other things of note. 1080p is the max resolution. Unlimited Internet is probably a requirement as its about 10gb per hour. After 6 hours the session ends and you need to save and relaunch the game. Your entire Steam library is not available, its up to publishers to allow their games on it.