Skip to content

Instantly share code, notes, and snippets.

@codazoda
Last active December 31, 2018 15:56
Show Gist options
  • Save codazoda/327d732e2757bf52ad42c2bb00e5b94d to your computer and use it in GitHub Desktop.
Save codazoda/327d732e2757bf52ad42c2bb00e5b94d to your computer and use it in GitHub Desktop.
Splash of Code
// Write code here...
<!DOCTYPE html>
<head>
<title>Splash of Code</title>
<!-- Internal CSS -->
<style type="text/css">
* {
box-sizing: border-box;
}
body {
background-color: rgb(225, 225, 225);
margin: 20px;
padding: 0;
}
#paper {
background-color: white;
padding: 20px;
width: 80%;
box-shadow: 3px 3px 10px #555555;
margin-left: auto;
margin-right: auto;
}
#myCanvas {
width: 100%;
}
</style>
<meta charset="UTF-8">
</head>
<body>
<div id="paper">
<canvas id="myCanvas"></canvas>
</div>
<!-- External Javascript -->
<script src="art.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment