blob: a5781456d1fce9cd64a65f7e82a3856c21340526 [file] [log] [blame]
<!DOCTYPE html>
<html>
<style>
html, body { margin: 0; padding: 0; }
</style>
<body>
<canvas id ="canvas" width="240" height="240" style="position:relative; left:-20px; top:-20px"></canvas>
<script>
var canvas = document.getElementById('canvas');
var context = canvas.getContext("2d");
context.strokeStyle = 'green';
context.lineWidth = 8;
context.strokeRect(0, 0, 240, 240);
</script>
</body>
</html>