老师 有没有需要改进的

来源:3-13 编程练习

慕盖茨9092533

2018-11-14 20:09:24

<!DOCTYPE html>

<html>

<head>

    <meta charset="UTF-8">

    <title></title>

    <style>

      /*在此处补充代码*/

      *{

        padding: 0;

        margin: 0;

      }

      header{

        display: flex;

        justify-content: space-around;

        background-color: #000;

      }

      header .nav{

        display: flex;

        justify-content: space-between;

        align-items: center;

        color: #fff;

        width: 33%;

        list-style: none;

      }

      header .login{

        display: flex;

        justify-content: space-between;

        align-items: center;

        width: 7%;

      }

      header .login input{

        width: 35px;

        height: 25px;

        background-color: orange;

        border: none;

        border-radius: 5px;

      }

    </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回答

好帮手慕夭夭

2018-11-15

你好同学 ,经过测试 , 效果是可以的 . 继续加油 , 祝学习愉快 !

0

0 学习 · 5012 问题

查看课程