Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Core.Config
<constant, nullable> canvasStyle: string
Description:
Optional CSS attributes to be set on the canvas object created by the renderer.
Type:
string
Since:
3.0.0
Source:
src/core/Config.js
(Line
149
)
Possible examples