第一个人生web代码,结束了,人生web第一格言:打死也要百分比

<!DOCTYPE html>

<html>

<head lang="en">

    <meta charset="UTF-8">

    <title>

    </title>

    <style>



        body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td { margin:0; padding:0; }
        body { font-size:12px; color:#666; font-family:Verdana, Microsoft YaHei, Simsun; background:#fff; line-height:24px; }
        fieldset, img { border:0; }
        ol, ul { list-style:none; }
        h1, h2, h3, h4, h5, h6{ font-size:100%; }
        em { font-style:normal; }
        input, button, select, textarea { outline:none; }
        textarea { resize:none; } //禁用了文本的拖拉,尤其在谷歌下
                                    p{ text-align:justify; text-justify:distribute;} //为了使文本段落左右两边对齐

                                                                                       a { color: #666; text-decoration:none; }
        a:hover { color: #f60; text-decoration:none;
        }



        .headborder{

            width:60%;

            height:500px;

            margin:0 auto;

            background-color: #00cccd;

        }

        .title{

         position: relative;

            top: 50px;

            width: auto;

            height: 30px;

            background-color: #c1ff00;

        }

        .WeX5{

            width:60%;

            height:500px;

            margin:0 auto;

            background-color: #000000;

        }

        .title  .pading1{
            float: left;
            line-height:30px;
            text-decoration: none;
            margin-left: 15%;
        }
        .title .pading2{
            float: left;
            line-height:30px;
            text-decoration: none;
            margin-left: 5%;
        }
        .title .pading3 {
            float: right;
            line-height: 30px;
            text-decoration: none;
            margin-right: 5%;
        }
        .title .titleTexture{
            position: relative;
            right:7.5%;
            top:-90%;
            display: inline;
            float:right ;
            width: 240PX;
            height:90px;
            background-repeat: no-repeat;
            background-position:55%;
            background-size: 100%;
            background-image: url("https://img-blog.csdn.net/20151126152030594?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center");
            background-color: #f9fa58;
        }
        .title .titieICON{
            position: relative;
            left:7.5%;
            top:-140%;
            display: inline;
            float:left ;
            width: 120px;
            height:120px;
            background-color: #c1ff00;
        }
        .sexHero{
            position: relative;
            top:30%;
            left:5%;
            width: 220px;
            height:300px;

            background-image: url("https://img-blog.csdn.net/20151126150642051?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center");
            background-color: #f9fa58;
        }
    </style>

</head>

<body>

   <div class="headborder">

       <div class="title">
              <div class="titieICON"></div>
              <a href="" class="pading1">首页</a>
              <a href="" class="pading2">商店</a>
              <a href="" class="pading2">开发中...</a>
              <a href="" class="pading3">登陆</a>
              <a href="" class="pading3">注册</a>
              <div class="titleTexture"></div>

       </div>
       <div class="sexHero"></div>


   </div>

   <div class="WeX5">

   </div>

</body>

</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值