|
@@ -24,7 +24,7 @@
|
|
<title>My first three.js app</title>
|
|
<title>My first three.js app</title>
|
|
<style>
|
|
<style>
|
|
body { margin: 0; }
|
|
body { margin: 0; }
|
|
- canvas { width: 100%; height: 100% }
|
|
|
|
|
|
+ canvas { display: block; }
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|
|
@@ -126,7 +126,7 @@
|
|
<title>My first three.js app</title>
|
|
<title>My first three.js app</title>
|
|
<style>
|
|
<style>
|
|
body { margin: 0; }
|
|
body { margin: 0; }
|
|
- canvas { width: 100%; height: 100% }
|
|
|
|
|
|
+ canvas { display: block; }
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
<body>
|
|
<body>
|