Ver código fonte

Docs: Added body margin 0 on introduction. Fixes #5076.

Mr.doob 11 anos atrás
pai
commit
f09f63997b
1 arquivos alterados com 8 adições e 2 exclusões
  1. 8 2
      docs/manual/introduction/Creating-a-scene.html

+ 8 - 2
docs/manual/introduction/Creating-a-scene.html

@@ -24,7 +24,10 @@
 		<html>
 			<head>
 				<title>My first Three.js app</title>
-				<style>canvas { width: 100%; height: 100% }</style>
+				<style>
+					body { margin: 0; }
+					canvas { width: 100%; height: 100% }
+				</style>
 			</head>
 			<body>
 				<script src="js/three.min.js"></script>
@@ -118,7 +121,10 @@
 		<html>
 			<head>
 				<title>My first Three.js app</title>
-				<style>canvas { width: 100%; height: 100% }</style>
+				<style>
+					body { margin: 0; }
+					canvas { width: 100%; height: 100% }
+				</style>
 			</head>
 			<body>
 				<script src="js/three.min.js"></script>