由HTML和CSS写的Google页面

<!DOCTYPE html>
<html>
<head>
    <title></title>
    <meta http-equiv="content" content="text/html" charset="utf-8"/>
    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
        }
        .main{
            width: 100%;
            height: 32px;
            text-decoration: none;
            font-size: 13px;
            line-height: 30px;
            background-color: #2D2D2D;
        }
        .main a{
               text-decoration: none;
            color: #fff;
        }
        .main1{
            text-decoration: none;
           float:right;
             clear: right;
        }
        .main ul li{
            color: #fff;
            font-family: 微软雅黑;
            list-style-type: none;
            margin-left: 10px;
            float: left;
        }
         .top{
             width: 100%;
             height: 45px;
             font-size: 13px;
             line-height: 40px;
             background-color: #F2F2F2;
             margin-top: 52px;
         }
         .top a{
             text-decoration: none;
         }
         .toptwo{
             float:right;
             clear: right;
         }
        .body{
            width: 600px;
            height: 300px;
            margin-left: 350px;
           margin-top: 250px;
            text-align: center;
        }
        .sousuo input{
                width: 450px;
            height: 20px;
        }
        .submit input{
            width: 80px;
            height: 30px;
            background-color: #F3F3F3;
            border: none;
             margin-top: 20px;
            opacity: 0.6;
        }
        .bodytop{
            font-size: 10px;
            margin-top: 40px;
        }
          .bodytop a{
              font-size: 10px;
          }
        .submit input:hover{
            opacity: 1;
        }
        .top a:hover{
           text-decoration: underline;
        }
        .main ul li:hover{
            background-color: #6d6d6d;
        }
    </style>
</head>
<body>
<div class="main">
    <ul>
        <li><a href="">+你</a></li>
        <li><a href="">搜索</a></li>
        <li><a href="">地图</a></li>
        <li><a href="">图片</a></li>
        <li><a href="">Play</a></li>
        <li><a href="">You Tube</a></li>
        <li><a href="">新闻</a></li>
        <li><a href="">Gmeil</a></li>
        <li><a href="">更多</a></li>
    <div class="main1"><a href="#">登陆</a> </div>
    </ul>
</div>
    <div class="body">
   <div class="body1">
       <img src="logo11w.png" width="300" height="150" />
       <label>谷歌</label>
   </div>
<div class="sousuo">
    <input type="text" value="搜索"/>
</div>
<div class="submit">
    <input type="submit" value="Google搜索"/>
    <input type="button" value="手气不错"/>
</div>
        <div class="bodytop">
            <label>Google.com.hk 使用下列语言:</label>
            <a href="">中文(繁體)</a>
            <a href="">English</a>
        </div>
</div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<div class="top">
    <a href="">&nbsp;广告</a>
    <a href="">&nbsp;商务</a>
    <a href="">&nbsp;Google大全</a>
    <div class="toptwo">
        <a href="">新的隐私权政策和条款&nbsp;</a>
        <a href="">&nbsp;设置</a>
        <a href="">&nbsp;Google.comn&nbsp;</a>
    </div>
</div>
</body>
</html>

转载于:https://my.oschina.net/u/1403159/blog/184036

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值