<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
#show {
width: 100px;
height: 100px;
border: 1px solid red;
position: absolute;
top: 70px;
left: 0px;
}
</style>
</head>
<body>
<div id="show"></div>
<input type="range" value="0" min="0" max="360">
<input type="range" value="0" min="0" max="900">
<script>
var inp = document.querySelectorAll("input"),
show = document.getElementById("show");
inp[0].oninput = e => show.style.transform = 'rotate('+e.target.value+'deg)';
inp[1].oninput = e => show.style.left = e.target.value+'px';
</script>
</body>
</html>