大鱼吃小鱼游戏-index.html -来源慕课网

来源:互联网 发布:安卓看网络小说软件 编辑:程序博客网 时间:2024/05/16 06:32
<!DOCTYPE HTML><html><head>    <meta charset = "utf-8">    <title>tinyHeart</title>    <style type="text/css">    body {        padding-top: 10px;    }    .all_bg{        width: 800px;        height: 600px;        margin: 0px auto;    }    #allcanvas{        position: relative;        width: 800px;        height: 600px;        margin: 0px;            }    #canvas1{        position: absolute;        bottom: 0;        left: 0;        z-index: 1;    }    #canvas2{        position: absolute;        bottom: 0;        left: 0;        z-index: 0;    }    </style></head><body>    <div class = "all_bg">        <div id= "allcanvas">            <canvas id ="canvas1" width = "800" height = "600"></canvas>            <canvas id ="canvas2" width = "800" height = "600"></canvas>        </div>    </div>      <!-- 引入js文件 -->    <script type= "text/javascript" src= "js/main.js"></script>    <script type= "text/javascript" src= "js/commonFunctions.js"></script>    <script type= "text/javascript" src= "js/background.js"></script>    <script type= "text/javascript" src= "js/ane.js"></script>    <script type= "text/javascript" src= "js/fruit.js"></script>    <script type= "text/javascript" src= "js/mom.js"></script>    <script type= "text/javascript" src= "js/collision.js"></script>    <script type= "text/javascript" src= "js/baby.js"></script>    <script type= "text/javascript" src= "js/data.js"></script>    <script type= "text/javascript" src= "js/wave.js"></script></body</html>
0 0
原创粉丝点击