title: Threejs canvas background black
body: <p>I made a trial with basic scene of threejs but I can't understand why the canvas background is completely black.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;My first Three.js app&lt;/title&gt;
      &lt;style&gt;
          body { margin: 0; }
          canvas { width: 100%; height: 100%;background-color: white; }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;script src="Stereos/threejs/three.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          var scene = new THREE.Scene();
  var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 );
  
  var renderer = new THREE.WebGLRenderer();
  renderer.setSize( window.innerWidth, window.innerHeight );
  document.body.appendChild( renderer.domElement );
      &lt;/script&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Code at felpone.netsons.org</p>