请老师检查
来源:3-13 编程练习
			三年没洗澡
2019-03-29 06:23:09
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <style>
      /*在此处补充代码*/
      *{
          margin: 0;
          padding: 0;
          list-style: none;
          color: white;
      }
      header,.logo,.nav,.login{
          display: flex;
          background: black;
          justify-content: space-around;
          align-items: center;
      }
      .logo{
          width: 30%;
      }
      .nav{
          width: 40%;
      }
      .login{
          width: 15%;
      }
      img{
          display: block;
      }
      input{
          background: orange;
          border: none;
          border-radius: 3px;
      }
    </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回答
你好,代码实现效果是可以的,建议右侧两个按钮的宽高样式可以调整下,例如:

祝学习愉快!