2-10编程练习
来源:2-10 编程练习
慕标4519152
2018-12-21 00:50:10
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Document</title> <style> /*完善下列代码*/ .per{ position:relative; width: 300px; height: 300px; background: red; margin-left:200px; margin-top: 200px; } .son{ position:absolute; width: 100px; height: 100px; background: blue; top:100px; left:100px; } </style> </head> <body> <div class="per"> <div class="son"></div> </div> </body> </html>
1回答
山河远阔ZZ
2018-12-21
同学你好,经测试,效果已经实现,继续加油!
相似问题