123456789101112131415161718192021222324252627 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- .box {
- width: 200px;
- height: 200px;
- background: #f00;
- }
- .box1 {
- width: 100px;
- height: 100px;
- background: #00f;
- }
- </style>
- </head>
- <body>
- <div class="box">
- <div class="box1"></div>
- </div>
- <input type="text" id="inp" placeholder="请输入内容">
- <script src="../js/4.事件.js"></script>
- </body>
- </html>
|