Naloga 1: drag and drop
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user