找茬游戏html

2023-03-22 13:24:39 浏览数 (1)

代码语言:javascript复制
以下是一个简单的找茬小游戏的HTML代码示例:

html
<!DOCTYPE html>  
<html lang="en">  
<head>  
    <meta charset="UTF-8">  
    <meta name="viewport" content="width=device-width, initial-scale=1.0">  
    <title>找茬游戏</title>  
    <style>  
        body {  
            font-family: Arial, sans-serif;  
        }  
  
        .container {  
            width: 300px;  
            padding: 16px;  
            background-color: white;  
            margin: 100px auto;  
            border: 1px solid black;  
            border-radius: 4px;  
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);  
        }  
  
        .game-board {  
            width: 300px;  
            padding: 16px;  
            background-color: black;  
            margin: 100px auto;  
            border: 1px solid black;  
            border-radius: 4px;  
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);  
        }  
  
        .score {  
            width: 100px;  
            padding: 8px;  
            background-color: gr

0 人点赞