KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I don't get why the following pieces of code produce different results, because css would scale the canvas as it was zoomed in, <style> #canvas { width: 800px; height: 600px; } </style> <canvas id="canvas"></canvas> In contrast with this approach (that works as expected): <canvas id="canvas" width="800px" height="600px"></canvas>
Tags (comma-separated)
Save Edits
Cancel