Skip to content

Commit

Permalink
Create moveCanvas.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Vif15 authored Nov 24, 2024
1 parent 7669608 commit 5ae13d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions javascript/moveCanvas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var main = document.getElementById("myCanvas");
var render = main.getContext("2d");
main.style.left = "400px";
main.style.top = "25px";
main.style.position = "absolute";

0 comments on commit 5ae13d3

Please sign in to comment.