老师帮忙检查一下,谢谢
来源:3-10 编程练习
猫叔人生
2020-05-13 16:53:46
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title></title>
<style>
/*在此处补充代码*/
* {
margin: 0;
padding: 0;
list-style: none;
color: #fff;
font-family: 'SimSun';
}
header,.nav,.login {
display: flex;
align-items: center;
}
.logo,.login input,.nav li {
cursor: pointer;
}
header {
height: 100px;
background-color: #000;
justify-content: space-around;
}
.logo img {
height: 70px;
}
.nav {
width: 500px;
font-size: 28px;
justify-content: space-between;
}
.login {
width: 150px;
justify-content: space-between;
}
.login input {
width: 58px;
height: 40px;
font-size: 22px;
background-color: #ffa500;
border-radius: 5px;
border: none;
}
</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回答
好帮手慕码
2020-05-13
同学你好,代码是正确的,继续加油。祝学习愉快~
相似问题