中关村在线平台简单的网页界面设计

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        .box1{
            width: 350px;height: 600px;float: left;position: relative;
        }
        .box1 li{
            width: 23px;height: 4px;background: darkgray;list-style: none;margin: 0 10px;float: left;
        }
        .box1 li:hover{background: dodgerblue;}
        .box1 ul li:hover img{
            display: block;position:absolute;top: 0px;left: 0px;
        }
        .box1 ul li img{
            display: none;
        }
        .pic1{
            width: 350px;height: 260px;
        }
        .box1 a{color: black;text-decoration: none;font-size: 18px;margin-top: -2px}
        .box1 a:hover{
            padding-bottom: 10px;
            border-bottom: 2px solid blue;
        }
        .pic2{
            width: 170px;float: left;margin-right: 10px;
        }
        .pic3{
            width: 170px;float: left;
        }
        .word{
            font-size: 14px;color: gray;
        }
        .box2{
            width: 350px;height: 600px;float: left;position: inherit;margin-left: 25px;
        }
        .box2 a{
            color: black;text-decoration: none;font-size: 18px;margin-left: 10px;margin-right: 10px;
        }
        .box2 a:hover{
            padding-bottom: 8px;
            border-bottom: 2px solid blue;
        }
        .box2 h3{
            font-size: 18px;color: red;text-align: center;margin-top: 5px;
        }
        .box2 h6{
            font-size: 12px;color: gray;text-align: center;margin-top: -10px;
        }
        .box2 li{
            font-size: 13px;color: steelblue;width: 350px;height: 25px;text-decoration: none;margin-top: 7px;list-style: none;
        }
        .dian{
            width: 500px;line-height: 13px;  color: darkgray;  text-overflow: ellipsis;  white-space: nowrap;  overflow: hidden;
        }
        .boxkuai{
            width: 50px; height:30px;background: url("img/pic.PNG");text-align: center;color: deepskyblue;
        }
        .pur{
            color: mediumpurple;
        }
        .box2 strong{
            font-size: 16px;color: steelblue;
        }
        .box3{
            width: 240px;height: 600px;margin-left: 25px;float: left;
        }
        .wo1{
            font-size: 16px;color: black;
        }
        .wo2{
            font-size: 12px;color: darkgray;
        }
        .box4{
            width: 240px;height: 170px;border-top: 2px solid dodgerblue;border-left: 1px solid darkgray;border-right: 1px solid darkgray;
        }
        .box4 h1{
            font-size: 14px;color:darkblue;padding-left: 10px;
        }
        .box4 a{
            font-size: 12px;color: gray;padding-left: 10px;padding-right: 3px;padding-bottom:3px;text-decoration: none;
        }
        .box5{
            width: 240px;height:90px;border-bottom:1px solid white;
        }
        .box4 hr{
            width: 218px;color: darkgray;text-align: center;
        }
    </style>
</head>
<body>
<div class="box1">
    <img src="img/1.jpg" class="pic1">
    <ul>
        <li><img src="img/1.jpg" class="pic1"> </li>
        <li><img src="img/2.jpg" class="pic1"> </li>
        <li><img src="img/3.jpg" class="pic1"> </li>
        <li><img src="img/4.jpg" class="pic1"> </li>
        <li><img src="img/5.jpg" class="pic1"> </li>
        <li><img src="img/6.jpg" class="pic1"> </li>
    </ul>
    <br/><br/>
    <a href="#">视频精选</a>
    <hr color="gray"/>
    <a href="#"><img src="img/huawei.jpg" class="pic2"></a>
    <a href="#"><img src="img/chabie.jpg" class="pic3"></a>
    <span class="word">华为畅享7 plus做工如何?&nbsp;&nbsp;&nbsp;你能看出差别吗?</span>
</div>
 <div class="box2">
     <a href="#">今日焦点</a>
     <a href="#">本地行情</a>
     <img src="img/calc.PNG" width="18px">
     <a href="#">视频精选</a>
     <hr color="gray"/>
     <h3>掌握了这些DIY小技巧装机从此再无新手</h3>
     <h6>[正确涂硅脂的方法要这样] [最全跳线教程]</h6>
     <li style="font-size: 10px"><span class="dian">•&nbsp;&nbsp;</span><span class="boxkuai">&nbsp;&nbsp;快讯&nbsp;</span> Meto五道口店火爆异常&nbsp;负责人道出原委&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: darkgray">09:42</span> </li>
     <li><span class="dian">•&nbsp;&nbsp;</span>早报:苹果发WWDC邀请函 坚果Pro售1499起</li>
     <li><span class="dian">•&nbsp;&nbsp;</span>Win10 RTM结束官方支持 三星等将推eSIM手机</li>
     <li><span class="dian">•&nbsp;&nbsp;</span>苹果iOS11将支持点对点支付 <span class="pur"> 东芝与西数要闹掰</span></li>
     <li><span class="dian">•&nbsp;&nbsp;</span><span class="pur">比特币要涨到4千美元</span> WhatsApp发力视频通话</li><br/>
     <li><span class="dian">•&nbsp;&nbsp;</span><strong>广受好评 AMD Ryzen 5当选近10年最佳CPU</strong></li>
     <li><span class="dian">•&nbsp;&nbsp;</span>旗舰机这么买能省一大笔 骁龙660将坚果Pro踩脚下</li>
     <li><span class="dian">•&nbsp;&nbsp;</span>魅族魅蓝E2拆解图赏 锤子坚果Pro上手尝鲜评测</li>
     <li><span class="dian">•&nbsp;&nbsp;</span>379元买傲腾还是SSD 机械键盘笔记本这样酷炫</li>
     <li><span class="dian">•&nbsp;&nbsp;</span>全球最壮观的大坝 世界颜值最高的斑马线</li>
     <li><span class="dian">•&nbsp;&nbsp;</span>激光电视这两大特点你得服 爱谱王B131双动圈耳</li>
 </div>
<div class="box3">
    <img src="img/guanggao.jpg" width="240px"/><br/><br/>
    <span class="wo1">产品报价</span>&nbsp;&nbsp;<span class="wo2">产品入库</span><br/><br/>
    <div class="box4">
        <div class="box5">
        <h1>智能手机、通讯产品</h1>
        <a href="#">iPhone 7</a><a href="#">华为P10</a><a href="#">OPPO R9s</a><br/>
        <a href="#">三星S8</a><a href="#">vivo X9</a><a href="#">华为Mate9</a><hr/>
        </div>
        <h1>笔记本、二合一、台式电脑</h1>
        <a href="#">联系</a><a href="#">华硕</a><a href="#">惠普</a><a href="#">神舟</a><a href="#">戴尔</a>
        <hr/>
    </div>
</div>
</body>
</html>

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值