1. <!DOCTYPE html>
    <html>
    <head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../css/reset.css"/>
    <link rel="stylesheet" href="../css/manwei.css"/>
    </head>
    <body>
    <!--导航栏-->
    <header>
    <nav>
    <img src="../images/logo.jpg" alt=""/>
    <a href="">首页</a>
    <a href="">最新动态</a>
    <a href="">
    漫威宇宙
    <ol>
    <li>电影</li>
    <li>剧集</li>
    <li>动漫</li>
    </ol>
    </a>
    </nav>
    </header>
    <!--雪碧图-->
    <div class="beij">
    <i class="xuebi"></i>
    </div>
    <!--美队图片-->
    <div class="zhongjian">
    <img src="../images/new_title.png" alt=""/>
    <div>
    <div class="aa">
    <div>
    <img src="../images/new_pic01.jpg" alt=""/>
    </div>
    <div>
    <a href="">
    <p><strong>初版灭霸演员加盟《美队3》</strong></p>
    <p>乔什不洛林版将成《复联3》终极boos</p>
    </a>
    </div>
    </div>
    <div class="mll">
    <div>
    <img src="../images/new_pic02.jpg" alt=""/>
    </div>
    <div>
    <a href="">
    <p><strong>《蚁人》再发新剧照</strong></p>
    <p>漫威第二阶段收官之作7月17日北美上映</p>
    </a>
    </div>
    </div>
    <div class="cc">
    <div>
    <img src="../images/new_pic03.jpg" alt=""/>
    </div>
    <div>
    <a href="">
    <p><strong>《复仇者联盟》动作手游等你来战</strong></p>
    <p>是英雄,就站起来!</p>
    </a>
    </div>
    </div>
    </div>
    </div>
    <!--阶段栏-->
    <div class="jieduan">
    <div>
    <p><strong>漫威电影</strong></p>
    <a href="">第一阶段</a>
    <a href="">第二阶段</a>
    <a href="">第三阶段</a>
    <a href="">了解更多角色...</a>
    </div>
    <div>
    <img src="../images/movie_pic.png" alt=""/>
    <img src="../images/movie_pic02.png" alt=""/>
    <img src="../images/movie_pic03.png" alt=""/>
    <img src="../images/movie_pic04.png" alt=""/>
    <img src="../images/movie_pic05.png" alt=""/>
    <img src="../images/movie_pic06.png" alt=""/>
    <a class="x" href="">《钢铁侠》</a>
    <a class="u" href="">《钢铁侠2》</a>
    <a class="e" href="">《美国队长3》</a>
    <a class="b" href="">《无敌浩克》</a>
    <a class="i" href="">《雷神》</a>
    <a class="kk" href="">《复仇着联盟》</a>
    </div>
  2.  
  3. </div>
    <!--漫威剧集-->
    <div class="juji">
  4.  
  5. <div class="juese">
    <p>漫威剧集</p>
    <a href="">了解更多角色.....</a>
    </div>
  6.  
  7. <i></i>
    <i></i>
    <i><a href="">观看本片</a></i>
    <i><a href="">更多内容</a></i>
    <div class="move">
    <img src="../images/watch_pic02.jpg" alt="" title="这是短视频"/><i class="bb"></i>
    <img src="../images/watch_pic02.jpg" alt="" title="这是短视频"/><i class="bb"></i>
    <img src="../images/watch_pic02.jpg" alt="" title="这是短视频"/><i class="bb"></i>
    </div>
    </div>
    <!--漫威动漫-->
    <div class="dongman">
    <aside>
    <div>
    <p><strong>漫威动漫</strong></p>
    <a href="">了解更多资讯....</a>
    </div>
    <div class="zhizhuxia">
    <div>
    <div>
    <img src="../images/dm_pic01.jpg" alt=""/>
    </div>
    <div>
    <a href="">终极蜘蛛侠:第一季预告片<strong>正片</strong></a>
    </div>
    </div>
    <div>
    <div>
    <img src="../images/dm_pic02.jpg" alt=""/>
    </div>
    <div>
    <a href="">终极蜘蛛侠:第二季预告片<strong>正片</strong></a>
    </div>
    </div>
    <div>
    <div>
    <img src="../images/dm_pic03.jpg" alt=""/>
    </div>
    <div>
    <a href="">终极蜘蛛侠:第三季预告片<strong>正片</strong></a>
    </div>
    </div>
    <div>
    <div>
    <img src="../images/dm_pic04.jpg" alt=""/>
    </div>
    <div>
    <a href="">终极蜘蛛侠 精彩片段</a>
    </div>
    </div>
    </div>
    <div>
    <div>
    <div class="aochuang">
    <img src="../images/dm_pic05.jpg" alt=""/>
    </div>
    <div class="p">
    <p><strong>《奥创纪元1》</strong></p>
    <p>当蜘蛛侠女发现反派组织智慧获得了一尊表面上向宇宙骑士的物体时,复仇者们还对即将到来的灾难义务所知。宇宙骑士随后化身为致力于灭绝人类的人工智能奥创,人类文明沦陷了。</p>
    </div>
    </div>
    <div>
    <div class="aochuang2">
    <img src="../images/666_03.gif" alt=""/>
    </div>
    <div class="pp">
    <p><strong>《奥创纪元2》</strong></p>
    <p>苏珊.理查次怀着复杂的心情跟着金刚狼一起回到了过去,原本打算要阻止金刚狼的苏珊,在最后关头动摇了。。。。当两人在对回到未来时,等在他们的确实宁一场噩梦。</p><i></i>
    </div>
    </div>
    </div>
    </aside>
    </div>
    <!--页脚-->
    <footer>
    <div>
    <p>漫威粉丝网站由时光网呈现</p>
    <p>Copyright @ 2006-2015 Mtime.com Inc All rights reserved.</p>
    <p>北京动议时光网络科技有限公司京ICP正050715号 网络试听许可证0108265号北京市公安局朝阳分局备案号:11010507744</p>
    </div>
    </footer>
    </body>
    </html>
  8.  
  9. 以下是css样式表
  1. /*导航栏*/
    a{
    text-decoration: none;
    }
    body{
    height: 3000px;
    }
    header{
    width: 100%;
    background-color: #020202;
    height: 61px;
    margin: 0 auto;
    }
    header>nav{
    width: 1002px;
    margin: 0 auto;
    }
    header>nav>a{
    color: white;
    line-height: 60px;
    margin-right:56px ;
    text-decoration: none;
    }
    header>nav>img{
    margin-right: 56px;
    }
    ol{
    width: 60px; ;
    padding: 0 ;
    display: none;
    left: 0;
    text-align: center;
    background-color: black;
    }
    ol>li{
    border: 1px solid white;
  2.  
  3. }
    header>nav>a:last-child:hover ol{
    display: block;
    position: absolute;
    z-index: 1;
    }
    header>nav>a:last-child{
    position: relative;
    }
    .beij{
    width: 100%;
    height: 540px;
    background-image: url("../images/top_banner.jpg");
    background-position: center;
    }
    /*雪碧图*/
    .xuebi{
    display: inline-block;
    width:83px ;
    height: 60px;
    background-image: url("../images/icon.png");
    background-position: 0 -213px;
    }
    .xuebi{
    padding: 0;
    position: absolute;
    top: 338px;
    left:360px ;
    }
    .beij{
    position: relative;
    }
    .xuebi:hover{
    display: inline-block;
    width: 83px;
    height: 60px;
    background-image: url("../images/icon.png");
    background-position:-85px -213px;
    }
    /*图片*/
    .zhongjian>img{
    margin-top: 28px;
    margin-bottom: 38px;
    }
    .zhongjian{
    background: repeat-x url("../images/new_bj.jpg");
    overflow: hidden;
    margin-bottom:136px ;
    }
    .zhongjian>div{
    width: 1002px;
    height: 334px;
    margin: 0 auto;
    }
    .aa{
    float: left;
    }
    .mll{
    float: left;
    }
    .cc{
    float: left;
    }
    .zhongjian p:first-child{
    color: black;
    margin-top: 14px;
    font-size: 18px;
    }
    .zhongjian p:last-child{
    color: gray;
    }
    .zhongjian p:last-child:hover{
    color: orangered;
    }
    /*阶段栏*/
    .jieduan{
    width: 100%;
    height:542px ;
    }
    .jieduan>div:nth-child(2){
    width: 100%;
    height:503px ;
    background-image: url("../images/movie_bj.jpg");
    background-position: center;
    }
    .jieduan>div:first-child{
    width: 1002px;
    margin: 0 auto;
    padding-bottom: 36px;
    }
    .jieduan>div:first-child>p{
    font-size: 22px;
    float: left;
    }
    .jieduan>div:first-child>a {
    color: black;
    float: left;
    margin-left: 150px;
    }
    .jieduan>div:first-child>a:last-child{
    background: linear-gradient(to right,green,blue,red);
    color: white;
    font-size: 18px;
    }
    .jieduan>div:first-child>a:hover{
    color: red;
    }
    .jieduan{
    position: relative;
    }
    .jieduan>div:last-child>img{
    position: absolute;
    }
    .jieduan>div:last-child>img:first-child{
    left:246px ;
    top: 104px;
    }
    .jieduan>div:last-child>img:nth-child(3){
    left: 550px;
    top: 104px;
    }
    .jieduan>div:last-child>img:nth-child(2){
    top: 350px;
    left: 410px;
    }
    .jieduan>div:last-child>img:nth-child(4){
    top: 350px;
    left: 750px;
    }
    .jieduan>div:last-child>img:nth-child(5){
    top: 104px;
    left:866px ;
    }
    .jieduan>div:last-child>img:nth-child(6){
    top: 350px;
    left: 1020px;
    }
    .jieduan>div:last-child>a{
    color: white;
    font-size: 18px;
    position: absolute;
    z-index: 1;
    }
    .x{
    left: 246px;
    top: 200px;
    }
    .u{
    top: 200px;
    left: 550px;
    }
    .e{
    top: 200px;
    left: 860px;
    }
    .b{
    left: 452px;
    top: 350px;
    }
    .i{
    top: 350px;
    left: 800px;
    }
    .kk{
    top: 350px;
    left: 1020px;
    }
    /*漫威剧集*/
    .juji{
    width: 100%;
    height: 556px;
    background-image:url("../images/watch_bj.jpg");
    background-position: center;
    position: relative;
    }
    .juese>a{
    background-color: black;
    color: white;
    float: right;
    padding:10px ;
    margin: 28px 150px 0 0;
    }
    .juji>i:nth-child(2){
    display: inline-block;
    width: 34px;
    height: 58px;
    background-image: url("../images/icon.png");
    background-position:-73px -37px ;
    position: absolute;
    top: 274px;
    left: 200px;
    }
    .juji>i:nth-child(3){
    display: inline-block;
    width: 36px;
    height: 58px;
    background-image: url("../images/icon.png");
    background-position:-107px -37px ;
    position: absolute;
    top: 274px;
    right: 200px;
    }
    .juji>i:nth-child(4){
    display: inline-block;
    width: 144px;
    height: 36px;
    background-image: url("../images/icon.png");
    background-position:0 -354px ;
    position: absolute;
    top: 290px;
    left: 730px;
    }
    .juji>i:nth-child(5){
    display: inline-block;
    width: 144px;
    height: 36px;
    background-image: url("../images/icon.png");
    background-position:0 -354px ;
    position: absolute;
    left: 560px;
    top:290px;
    }
    .juji>i:nth-child(4)>a{
    margin-left: 40px;
    color: white;
    line-height: 30px;
    }
    .juji>i:nth-child(5)>a{
    margin-left: 30px;
    color: white;
    line-height: 30px;
    }
    .move{
    position: absolute;
    left: 200px;
    top: 346px;
    }
  4.  
  5. .bb{
    display: inline-block;
    width: 52px;
    height: 60px;
    background-image: url("../images/icon.png");
    background-position:-18px -213px;
    }
    .bb:hover{
    display: inline-block;
    width: 52px;
    height: 60px;
    background-image: url("../images/icon.png");
    background-position:-102px -215px;
    }
    .juese>p{
    color: white;
    font-size: 24px;
    margin-left: 120px;
    padding-top: 38px;
    }
    .juese>p:hover{
    color:green;
    }
    /*漫威动漫*/
    .dongman{
    width: 100%;
    height: 500px;
    margin: 0 auto;
    padding-top: 30px;
    position: relative;
    background-image: url("../images/am_bj.jpg");
    }
    .dongman>aside{
    width: 1002px;
    height: 559px;
    margin: 0 auto;
    overflow: hidden;
    }
    aside>div:first-child{
    overflow: hidden;
    }
    aside>div:first-child>p{
    font-size: 22px;
    float: left;
    }
    aside>div:first-child>a{
    float: right;
    color: white;
    font-size: 18px;
    background: linear-gradient(to right,darkmagenta,green);
    }
    .zhizhuxia>div:first-child{
    float: left;
    }
    .zhizhuxia>div:nth-child(2){
    float: left;
    }
    .zhizhuxia>div:nth-child(3){
    float: left;
    }
    .zhizhuxia{
    overflow: hidden;
    }
    .zhizhuxia>div{
    margin-right:20px ;
    margin-top: 5px;
    }
    .zhizhuxia>div a{
    color: black;
    }
    .zhizhuxia>div a:hover{
    color: red;
    }
    .zhizhuxia>div a>strong{
    background-color: black;
    color: white;
    }
    .zhizhuxia{
    margin-bottom: 60px;
    }
    .aochuang{
    float: left;
    }
    .p{
    width: 322px;
    float: left;
    margin-right:26px ;
    text-shadow: 3px 3px 5px green;
    }
    aside{
    overflow: hidden;
    }
    .p:hover{
    color: yellow;
    }
    .aochuang2{
    float: left;
    }
    .pp:hover{
    color: blue;
    }
    .pp{
    width: 322px;
    float: left;
    text-shadow: 3px 3px 5px red;
    }
    i{
    display: inline-block;
    width: 36px;
    height: 58px;
    background-image: url("../images/icon.png");
    background-position:-107px -37px ;
    position: absolute;
    right:180px ;
    top: 300px;
    }
    /*页脚*/
    footer{
    width: 100%;
    height:202px;
    background-color: black;
    margin: 0 auto;
    }
    footer p{
    color: white;
    text-align: center;
    margin-bottom: 18px;
    }
    footer>div{
    padding-top: 70px;
    }

用HTML编写漫威页面的更多相关文章

  1. 使用Sublime编写HTML页面时发现,虽然已经设置好了UTF-8的编码格式,但却发现HTML页面的汉字仍然是乱码。

    相信有些同学在使用Sublime编写HTML页面时发现,虽然已经设置好了UTF-8的编码格式,但却发现HTML页面的汉字仍然是乱码吧.我今天就遇到了这样的问题. 第一步:重新设置一下你的meta,设置 ...

  2. 编写html页面时常见的问题(转)

    编写html页面时常见的问题(一)   说到写页面,肯定有很多人在刚接触编写页面这一块时遇到很多细节和兼容性的问题,那么在这里我总结一些经常遇到的小问题.希望能够帮助学习页面搭建的初学者! 虽然说ie ...

  3. 基于jQuery编写的页面跳转简单的小插件

    其实这个很简单,就是一个脚本函数和两个参数(url,jupetime), 开始实现步骤: 1.像页面引用一个jquery工具包 2.在javascript脚本编写自定义方法: 方法声明: $.exte ...

  4. 编写html页面时常见的问题(二)

    这次我接着说几个编写页面时常见的另外几个问题. 不能水平居中对齐 在我们写页面的时候,会遇到一些小细节就是不能水平居中对齐,这种情况影响了页面的美观,这也是写页面的质量不过关的一个体现,其实这种情况的 ...

  5. 编写html页面时常见的问题(一)

    说到写页面,肯定有很多人在刚接触编写页面这一块时遇到很多细节和兼容性的问题,那么在这里我总结一些经常遇到的小问题.希望能够帮助学习页面搭建的初学者! 虽然说ie6很多公司都已经抛弃,但是个人认为,初学 ...

  6. Vue编写的页面部署到springboot网站项目中出现页面加载不全问题

    问题描述: 在用Vue脚手架 编写出一个页面之后, 部署到后台项目中, 因为做的是一个页面 按理来说 怎么都能够在服务器上运行 , 我也在自己的node环境测试 , 在同学的springboot上运行 ...

  7. Jsp编写的页面如何适应手机浏览器页面

    经常遇到JSP网页需要适配手机设备的尺寸问题 解决: 在JSP加入<meta name="viewport" content="width=device-width ...

  8. 利用Express和ejs编写简单页面

    1.创建临时文件夹ejsdemo $ mkdir ejsdemo 2.进入ejsdemo 初始化项目 $ npm init 3.安装express $ npm install express --sa ...

  9. 使用ES6的模块编写web页面碰到的坑

    昨天写最近在做的web应用时,在web页面的js文件中使用了模块功能,这样在html文件中只需要导入一个js就好了

随机推荐

  1. BZOJ1258 [CQOI2007]三角形

    Description 画一个等边三角形,把三边的中点连接起来,得到四个三角形,把它们称为T1,T2,T3,T4,如图1.把前三个三角形也这样划分,得到12个更小的三角形:T11,T12,T13,T1 ...

  2. Bootstrap Modal多个弹出层顺序

    Bootstrap Modal多个弹出层顺序与div的顺序关联.后来者居上:即div靠后的modal层弹出的时候会在上层. 比如上图所示,模态框2弹出的时候会在模态框1上面.

  3. mybatis三种传值方式

    第一种:按序列传参(dao层的函数方法)[sql] Public User selectUser(String name,String area); 对应的Mapper.xml [sql] <s ...

  4. 【element+vue后台页面】Vue-element-admin

    https://segmentfault.com/a/1190000009275424

  5. 推荐下:开源ckplayer 网页播放器, 跨平台(html5, mobile),flv, f4v, mp4, rtmp协议. webm, ogg, m3u8 !

    视频播放, 原本是想h5 自带视频播放,使用很简单,结果现实很骨感. <video controls="controls" preload="auto" ...

  6. C++学习笔记(6)----基类和派生类的构造函数和析构函数的执行顺序

    基类和派生类:构造函数和析构函数的执行顺序 在Visual Studio中,新建控制台工程,构造类如下: #include<iostream> using namespace std; c ...

  7. 4 使用Selenium模拟登录csdn,取出cookie信息,再用requests.session访问个人中心(保持登录状态)

    代码: # -*- coding: utf-8 -*- """ Created on Fri Jul 13 16:13:52 2018 @author: a " ...

  8. Linux案例01:eth0网卡异常

    一.现象描述 今天在调试两台物理机,做完配置重启主机后,发现一台服务器网络无法ssh连接,通过ILO进去ifconfig发现eth0配置的IP地址等信息丢失,手动重启后,可以ssh连接,但过一段时间, ...

  9. 绘制虚线的UIView

    绘制虚线的UIView CAShapeLayer配合贝塞尔曲线可以绘制曲线,笔者继承了一个UIView的子类,并将该子类的backedLayer替换为CAShapeLayer,以此来实现绘制虚线的效果 ...

  10. C# 多维数组 交错数组的区别,即 [ , ] 与 [ ][ ]的区别

    多维数组的声明 在声明时,必须指定数组的长度,格式为 type [lenght ,lenght ,lengh, ... ] int [,] test1 = new int [3,3]; 或声明时即赋值 ...