cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

override size of canvas with id when pass option #182

Closed balmacefa closed 8 years ago

balmacefa commented 8 years ago

i want to make the canvas responsive, so i need to put a custom canvas with id inside a div structure, but change the size of the canvas with js. When you pass a option with width or height they change the css values