Skip to content

Instantly share code, notes, and snippets.

@okumurakengo
Created July 11, 2016 01:19
Show Gist options
  • Save okumurakengo/351efe6d892a5816931c51f3e3dc2aaf to your computer and use it in GitHub Desktop.
Save okumurakengo/351efe6d892a5816931c51f3e3dc2aaf to your computer and use it in GitHub Desktop.
canvas_sample
<body onLoad="img()">
<div class="pc">
<canvas width="900" height="600" id="sample1"></canvas>
</div>
<div class="pad">
<canvas width="400" height="600" id="sample2"></canvas>
</div>
<div class="mobile">
<canvas width="150" height="900" id="sample3"></canvas>
</div>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment