| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <title>WebGL Test: Green Triangle over Black Background</title> | |
| <style type="text/css"> | |
| .nomargin { | |
| margin: 0px auto; | |
| } | |
| </style> | |
| <script src="pixel_webgl_util.js"></script> | |
| <script> | |
| var main = makeMain(true, true); | |
| </script> | |
| </head> | |
| <body onload="main()"> | |
| <div style="position:relative; width:200px; height:200px; background-color:black"></div> | |
| <div style="position:absolute; top:0px; left:0px"> | |
| <canvas id="c" width="200" height="200" class="nomargin"></canvas> | |
| </div> | |
| </body> | |
| </html> |