Auto-resizing background image using Canvas


/ Published in: JavaScript
Save to your folder(s)

The canvas drawImage size default is 300 x 150, so it's using the CSS to resize the canvas. Example posted at http://pastebin.me/76aed7005b1b413ea3c479287f4dbd59

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.