麻烦老师检查,谢谢
来源:3-10 编程练习
qq_慕移动3101913
2020-03-08 15:39:44
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>伸缩容器的属性</title> <style> /*在此处补充代码*/ *{ margin: 0; padding: 0; list-style-type:none; } .header{ background-color: black; color: #fff; font-size: 20px; display: flex ; flex-wrap: nowrap; justify-content: space-around; align-items:center; } .nav{ width: 500px; display: flex ; justify-content: space-around; } .login{ width: 200px; display: flex ; justify-content: space-around; } .login input{ width: 50px; height: 30px; color: #fff; border: 1px solid orange; background-color: orange; border-radius: 3px; } </style> </head> <body> <header class="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回答
好帮手慕糖
2020-03-08
同学你好,代码是正确的,继续加油。祝学习愉快~
相似问题