Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div class="block1">
        <p> Жоғарғы сол жақ бұрыш
            <input type="range" id="rtl" min="0" max="100" value="0" oninput="fun1()">
            <input type="text" id="ttl" value="0">
        </p>
        <p> Жоғарғы оң жақ бұрыш
            <input type="range" id="rtr" min="0" max="100" value="0" oninput="fun1()">
            <input type="text" id="ttr" value="0">
        </p>
        <p> Төменгі оң жақ бұрыш
            <input type="range" id="rbr" min="0" max="100" value="0" oninput="fun1()">
            <input type="text" id="tbr" value="0">
        </p>
        <p> Төменгі сол жақ бұрыш
            <input type="range" id="rbl" min="0" max="100" value="0" oninput="fun1()">
            <input type="text" id="tbl" value="0">
        </p>
    </div>
    <div id="block"></div>
</body>
</html>
 
#block {
    height: 150px;
    width: 300px;
    background: blue;
}
 
function fun1() {
    var rtl = document.getElementById('rtl').value;
    var ttl = document.getElementById('ttl');
}
Output

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

Dismiss x
public
Bin info
Timur96-kazzpro
0viewers