老师看看可以吗?哪里要修改下不?
来源:3-13 编程练习
DaDaDaLa
2018-04-26 20:21:14
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
/*在此处补充代码*/
*{
padding: 0;
margin: 0;
}
header{
display: flex;
justify-content: space-around;
width: 100%;
height: 57px;
background-color: black;
}
.nav{
width: 300px;
display: flex;
justify-content: space-between;
align-items: center;
color: #fff;
}
.nav li{
list-style: none;
width: 36px;
height: 32px;
line-height: 32px;
font-size: 16px;
}
.login{
width: 100px;
display: flex;
justify-content: space-between;
align-items: center;
}
input{
width: 40px;
height: 36px;
line-height: 36px;
font-size: 16px;
background: yellow;
color: #fff;
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回答
你好,经测试,实现效果是问题,可以稍微的再给按钮添加个圆角。继续加油!
祝学习愉快~
相似问题