Sorawithcat 发表于 2024-1-21 16:14:59

看看

漓天i 发表于 2024-2-15 21:52:24

看看

zhangchenyvn 发表于 2024-2-19 20:03:42

厉害了

nakio 发表于 2024-3-26 21:59:19

收藏!!

cmy0219 发表于 2024-4-1 22:00:26


123456789112 发表于 2026-3-14 15:32:47

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>红绿灯</title>
    <style>
      .circle {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 10px;
      }
      .red {
            background-color: red;
      }
      .yellow {
            background-color: yellow;
      }
      .green {
            background-color: green;
      }
    </style>
</head>
<body>
    <div class="circle red" id="leftCircle"></div>
    <div class="circle yellow" id="middleCircle"></div>
    <div class="circle green" id="rightCircle"></div>
    <div id="countdownBox"></div>

    <script src="script.js"></script>
</body>
</html>
页: 6 7 8 9 10 11 12 13 14 15 [16]
查看完整版本: HTML+CSS+原生JS写的贪吃蛇