Skip to content

Instantly share code, notes, and snippets.

@adimancv
Created March 5, 2018 08:44
Show Gist options
  • Save adimancv/07572f00e462570d5b62553650a6a3e8 to your computer and use it in GitHub Desktop.
Save adimancv/07572f00e462570d5b62553650a6a3e8 to your computer and use it in GitHub Desktop.
gambar-3d-dengan-js
html { height: 100%; }
body {
min-height: 100%;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
background: #435;
color: white;
font-family: sans-serif;
text-align: center;
}
canvas {
display: block;
margin: 0 auto;
cursor: move;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment