flex canvas
This commit is contained in:
parent
0d8f19e284
commit
c8e94b42a2
12
index.html
12
index.html
@ -3,6 +3,18 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>jsKeyPressed</title>
|
||||
|
||||
<style type="text/css">
|
||||
html { height: 100%; }
|
||||
|
||||
body {
|
||||
height: 100%;
|
||||
padding: 0; margin: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<canvas id="app" width="320" height="240">
|
||||
|
Loading…
Reference in New Issue
Block a user