How can I automatically scale the HTML5 <canvas> element to fit the page?

For example, I can get a <div> to scale by setting the height and width properties to 100%, but a <canvas> won’t scale, will it?

17 Answers
17

Leave a Reply

Your email address will not be published. Required fields are marked *