pull/139/merge
Uma Das 3 years ago committed by GitHub
commit b68dba1c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,21 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="style.css" />
<title>Drawing App</title> <title>Drawing App</title>
</head> </head>
<body>
<body>
<canvas id="canvas" width="800" height="700"></canvas> <canvas id="canvas" width="800" height="700"></canvas>
<div class="toolbox"> <div class="toolbox">
<button id="decrease">-</button> <button id="decrease">-</button>
<span id="size">10</span> <span id="size">10</span>
<button id="increase">+</button> <button id="increase">+</button>
<input type="color" id="color"> <input type="color" id="color">
<button id="clear">X</button> <button id="clear">x</button>
</div> </div>
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>
</html> </html>

@ -11,7 +11,7 @@ body {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 100vh; height: 89vh;
margin: 0; margin: 0;
} }
@ -29,7 +29,8 @@ canvas {
.toolbox > * { .toolbox > * {
background-color: #fff; background-color: #fff;
border: none; border-radius: 14px;
border: 1px solid black;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

Loading…
Cancel
Save