老师帮忙看看
来源:3-10 编程练习
慕仙9874720
2020-03-04 15:50:23
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
/*在此处补充代码*/
*{
padding: 0;
margin: 0;
}
header {
display: flex;
justify-content: space-around;
align-items: center;
background: black;
}
.nav {
display: flex;
justify-content: space-between;
list-style: none;
color: white;
width: 500px;
}
.login {
display: flex;
justify-content: space-between;
width: 90px;
}
.login input {
background: orange;
border: none;
border-radius: 4px;
color: #fff;
width: 32px;
height: 20px;
}
</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回答
同学你好,代码是正确的。继续加油,祝学习愉快!
相似问题