Naloga 1: drag and drop

This commit is contained in:
Gašper Dobrovoljc committed 2024-10-23 15:43:29 +02:00
1 parent ff56a51b82
commit d825f4e090
2 files changed
+31 -11

No files matched your search

+15 -2
View File
@@ -7,7 +7,20 @@
<script defer src="script.js"></script>
</head>
<body style="margin: 0; padding: 0;">
<canvas id="canvas" width="512px" height="512px"></canvas>
<style>
body {
margin: 0;
padding: 0;
}
#drop-zone {
width: 100vw;
height: 100vh;
}
</style>
<body>
<div id="drop-zone">
<canvas id="canvas" width="512px" height="512px"></canvas>
</div>
</body>
</html>