麻烦老师检查一下
来源:3-5 编程练习
qq_慕妹9276277
2022-04-14 04:39:08
<!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> <style> .content{ width:800px; height:400px; background-color: skyblue; padding-top:100px; box-sizing:content-box; } .top{ width:400px; height:200px; background-color: yellow; margin-left: 200px; } </style> </head> <body> <div class="content"> <div class="top"></div> </div> </body> </html>
1回答
同学你好,代码完成的不错,很棒哦,继续加油!祝学习愉快!