麻烦老师检查 有没有需要修改的
<style>
*{
margin: 0;
padding: 0;
}
header{
display: flex;
align-items: center;
justify-content: space-around;
background-color: #000;
}
.logo{
display: flex;
}
header ul.nav{
list-style: none;
display: flex;
justify-content: center;
}
header ul.nav li{
width: 100px;
padding: 20px;
font-size: 18px;
color: #fff;
}
.login{
width: 200px;
display: flex;
justify-content: space-around;
}
.login input{
width: 50px;
height: 40px;
font-size: 18px;
background-color: orange;
color: #fff;
border-radius: 10px;
text-align: center;
}
</style><header> <div class="logo"> <img src="http://img1.sycdn.imooc.com/climg//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>
9
收起
正在回答 回答被采纳积分+1
1回答




恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星