为了账号安全,请及时绑定邮箱和手机立即绑定

我的二级栏目为什么没有显示出来呢?

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title></title>

      <style>

      *{

      margin: 0;

      padding: 0;

      }

      .page{

      width: 100%;

      height: 1035px;

      background: url(img/mo.png.jpg) center top no-repeat;

      }

      .nav{

      width: 160px;

      height: auto ;

      position: fixed;

      left: 0;

      top:50%;

      margin-top: -103px;

      font-family: "微软雅黑";

      }

      .nav-li{

      width:160px ;

      height: 40px;

      border-bottom: 1px solid #fff;

      background: #333;

      text-align: center;

      line-height: 40px;

      color: #fff;

      font-size: 16px;

     

      }

      .nav-li ul{

      width: 160px;

      height: auto;

      background: #fff;

      }

      .tit{

      width: 160px;

      height: 40px;

      }

      .nav-li ul li{

      width: 160px;

      height:40px;

      border-bottom: 1px dashed #666;

      color:#333 ;

      text-align: center;

      line-height: 40px;

     

     

      }

      </style>

</head>

<body>

<div class="page">

<div class="nav">

<div class="nav-li">

<div class="tit">慕课网的da标题</div>

   <ul>

    <li >二级栏目</li>

   </ul>

</div>

<div class="nav-li" >慕课网的标题</div>

<div class="nav-li">慕课网的标题</div>

<div class="nav-li">慕课网的标题</div>

<div class="nav-li">慕课网的标题</div>

<div class="nav-li">慕课网的标题</div>

</div>

</div>

</body>

</html>


正在回答

1 回答

已解决

1 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

我的二级栏目为什么没有显示出来呢?

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号