请老师检查
来源:2-8 编程练习
闪电打雷躲树下
2022-09-17 10:55:19
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style> /*在此处补充代码*/ *{ list-style:none; margin:0; padding:0; } header{ display:flex; justify-content:space-around; background-color:hsl(0deg 0% 0%); align-items: center; } .login{ height: 100%; } .logo img{ height: 100%; } .nav{ display:flex; justify-content:space-between; color: #fff; width: 400px; } .login{ display:flex; justify-content:space-between; width: 100px; } .login input{ width: 40px; height: 30px; background-color:hsl(39deg 100% 50%) ; color: #fff; border-radius: 5px; } </style> </head> <body> <header> <div class="logo"> <img src="http://climg.mukewang.com/59feb59700019dab01910057.png" alt=""> </div> <ul class="nav"> <li>课程</li> <li>路径</li> <li>猿问</li> <li>手记</li> </ul> <div class="login"> <input type="button" value="登录"> <input type="button" value="注册"> </div> </header> </body> </html>
1回答
好帮手慕久久
2022-09-17
同学你好,代码写的不错,如下位置需要检查、确定一下:
祝学习愉快!