Blogger Information
Blog 15
fans 0
comment 0
visits 12587
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
优酷作业五期
峰回掠影的博客
Original
626 people have browsed it
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>优酷</title>
  <link rel="stylesheet" type="text/css" href="font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
  <div class=" header">
<!--  轮播模块   --> 
      <div class="pic_show">
          <div class="bg"></div>
          <div class="contents head_r">
              <div class="head_r_menu r">
                <a href=""><span>2019两会闭幕 :</span>全程回顾解读热点</a>  
                <a href=""><span>以团之名 :</span>6进3公演神仙舞台</a>  
                <a href=""  style="color: #fff;"><span style="font-size: 20px;display: block; color: #fff;">都挺好:</span>明玉报复抄解气!</a>  
                <a href=""><span>2019两会闭幕 :</span>全程回顾解读热点</a>  
                <a href=""><span>2019两会闭幕 :</span>全程回顾解读热点</a>  
                <a href=""><span>这!就是原则 :</span>全程回顾解读热点</a>  
                <a href="" style="border: none;"><span>重耳传奇 : :</span>王龙华王艳母子温馨团聚</a>  
              </div> 
          </div>
      </div> 
<!-- 开始顶部搜索导航 -->      
      <div class="contents header_ul">
        <div class="logo l mt">
          <a href=""><img src="img/logo.png"></a> 
           <form>
             <input type="text" name="">
             <button>全网搜</button>
           </form>
        </div>
        <ul class="menu_li r mt">
           <li><i class="fa fa-bank" style="color: #c4a25a"></i><br><a href="" style="color: #c4a25a">VIP</a></li>
           <li><i class="fa fa-feed"></i><br><a href="">订阅</a></li>
           <li><i class="fa fa-clock-o"></i><br><a href="">订阅</a></li>
           <li><i class="fa fa-arrow-up"></i><br><a href="">订阅</a></li>
           <li><i class="fa fa-television"></i><br><a href="">客户端</a></li>
           <li><a href=""><img src="img/80.png" width="40" style="margin-top: -5px;"></a>
               <div class="box">
                  <span class="arrow"></span>
                  <p>登录使用更多功能</p>
                  <button>登录/注册</button>
               </div>
           </li>
        </ul>
      </div>
      <div class="clear"></div>
  </div>
<!-- header 头部内容结束  -->
  <div class="contents">
     <div class="content">
       <ul class="voltage">
          <li><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a></li>
          <span class="b_r"></span>
          <li><a href="">电影</a><a href="">电影</a><a href="">电影</a><a href="">电影</a><a href="">电影</a><a href="">电影</a></li>
            <span class="b_r"></span>
          <li><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a><a href="">剧集</a></li>
            <span class="b_r"></span>
          <li><a href="">电影</a><a href="">电影</a><a href="">电影</a><a href="">电影</a><a href="">电影</a><a href="">电影</a></li>
            <span class="b_r"></span>
          <li style="width:80px;"><a href="">剧集</a><br><a href="">电影</a></li>
           <span class="b_r"></span>
           <li class="hoc"><i class="fa fa-feed"></i><br><a href="">优酷片库</a></li>
           <li class="hoc"><i class="fa fa-bar-chart"></i><br><a href="">指数</a></li>
           <li class="hoc"><i class="fa fa-angellist"></i><br><a href="">大鱼号</a></li>
           <li class="hoc"><i class="fa fa-desktop"></i><br><a href="">下载</a></li> 
       </ul>
     </div>
    <div class="clear"></div>
  </div>

  <div class="contents">
    <div class="content">
       <div class="contentUL">
         <h2>正在热播</h2>
       </div>
       <ul class="hot_tv">
          <li class="mr">
            <a href="">
              <img src="img/a.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
            <li class="mr">
            <a href="">
              <img src="img/b.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
            <li class="mr">
            <a href="">
              <img src="img/c.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
            <li class="mr">
            <a href="">
              <img src="img/d.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
            <li class="mr">
            <a href="">
              <img src="img/e.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
            <li class="mr">
            <a href="">
              <img src="img/f.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
          <li>
            <a href="">
              <img src="img/g.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </li>
       </ul>
       <div class="clear"></div>
    </div>
<!-- 剧集     -->       
    <div class="content">
      <div class="contentUL">
         <h2 class="l mr">剧集 ></h2>
         <ul class="tab l">
            <li> <a href=""> 最新</a></li>
            <li> <a href="">大陆剧</a></li>
            <li> <a href=""> 日剧</a></li>
            <li> <a href=""> 韩剧</a></li>
            <li> <a href=""> 美剧</a></li>
         </ul>
         <div class="clear"></div>
       </div>
       <div class="tv_show">
          <div class="big_show l mr">
            <a href="">
              <img src="img/tv.jpg"><br>
              <span>瞰中国:宁夏</span>
            </a><br>
            <small>低调的宁夏 美了四季</small>
          </div>
          <ul class="tv_tab l">
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
             <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
              <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
              <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
            <li>
              <a href="">
                <img src="img/tv1.jpg"><br>
                <span>瞰中国:宁夏</span>
              </a><br>
              <small>低调的宁夏 美了四季</small>
            </li>
          </ul>
           <div class="clear"></div>
       </div>
    </div>
   
  </div>
</body>
</html>
 *{margin: 0;padding: 0;}
    li{list-style: none; float: left;}
    a{color: #000;text-decoration: none;}
    .clear{clear: both;} /*清除浮动*/
    .mr{margin-right: 10px;}
    .mt{margin-top: 20px;}
    .r{float: right;}
    .l{float: left;} /*左浮动*/
    .contents{
      width: 1740px;
      margin: 0 auto;
    }
    .content{
      width: 100%;
      margin-top: 20px;
    }
    .contentUL{line-height: 70px;}
    .hot_tv img{
      width:240px;
      height: 360px; 
    }
    .tab li{margin-left: 25px;}
    .tv_tab img{
      width: 240px;
      height: 135px;
    }
    .tv_tab{width:1240px; }
    .tv_tab li{margin:0 4px 18px;}
   .header{height: 520px;width: 100%;background: #072439;position: relative; }
  
   .pic_show{width: 1664px;height: 520px;background: url(../img/y1.jpg); margin:0 auto;position: relative;}
   .bg{
      width: 100%;height: 100%;
      background:url(../img/y.png);
      position: absolute;top: 0;left:0;
      z-index: 999;
   }
   .head_r{position: absolute;top: 100px;z-index:1000;right: -38px; }
   .head_r_menu{
     width:190px;
     padding: 0 15px;
     background: rgba(0,0,0,0.5);
   }
   .head_r_menu a{
      display: block;
      line-height: 25px;
      font-size: 14px;
      padding: 10px 0;
      color: rgba(254,254,254,0.6);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border-bottom: 1px solid rgba(147,147,147,0.4);
   }
    .head_r_menu a:hover{color: #fff;}
    .head_r_menu a:hover span{
       font-size: 20px;display: block; color: #fff;
    }
    .header_ul{
      position: fixed;top: 0;left:90px;z-index: 1000; 
    }  
    .logo form{width: 500px;height: 40px;position: relative;margin-left:500px;display: inline-block; }
    .logo input{  width:480px;
            height: 40px;border-radius: 100px;border: none;
            background:rgba(234,234,234,0.5);
            outline: none; /*去掉表单元素自动获取焦点效果*/
            padding-left: 20px;
            color: #fff;
    }
    .logo button{width: 90px;height: 40px;
     border-top-right-radius: 30px;
     border-bottom-right-radius: 30px;
     background: #B30702;
     border: none;
     color: #fff;
     position: absolute;top: 0;right: 0;
    }
    .menu_li a,i {color: rgba(234,234,234,0.5);}
    .menu_li li{
        position: relative;
        padding: 0 10px;
        text-align: center;
        font-size: 12px;
    }
    .menu_li i{font-size: 18px;}
    .menu_li li:hover a{color:#48ADF2; }
    .menu_li li:hover i{color:#48ADF2; }
    .menu_li .box{
         position: absolute;top: 50px;right: -10px;
         background: #fff;
         padding: 20px;
         display: none;
    }
    .menu_li p{color: #ccc;font-size: 16px;}
    
    .menu_li button{
        background: #2798ff;
        color: #fff;
        border: none;
        height: 36px;width: 240px;
        border-radius: 30px;
        margin-top: 15px;
    }
    .menu_li li:hover .box{display: block;}

  .arrow{
    width: 0;height: 7px;border: 7px solid;
    border-color: transparent transparent #fff transparent ;/*上右下左*/
    position: absolute;top: -21px;right: 30px;
  }

  .voltage li{width: 230px;font-size: 15px;line-height: 30px;}
  .voltage a{padding-right: 45px;color:#6D7076;}
  .b_r{
    border-right: 2px solid #f2f2f2;
    height: 45px;
    display: inline-block;
    float: left;
    margin-top: 7px;
    margin-right: 45px;
  }
  li.hoc{
    width: 80px;
    text-align: center;
    padding: 0 20px;
  }
   li.hoc i{color: #666;font-size: 17px;}
  .hoc a{padding: 0;color: #666;}

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post