<style> #mystar { width: 95%; min-height: 300px; border: 1px solid black; background-color: black; position: relative; overflow: hidden; } </style> </head> <body onload="gogo()"> <h1>產生許多星星的 createElement 的作法</h1> <div id='mystar'></div>