京东页面前端作业HTMLcss

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东</title>
    <style>
        *{
            /* margin: 0px auto; */
            padding: 0px;
            list-style: none;
            text-decoration: none
        }
        .clear::after{
            content: "";
            display: block;
            clear: both;
        }
        .top{
            width: 1580px;
            /* border: 2px solid red; */
            background-color: #e5e3e5;
            
        }
 
        .top_left{
            width: 40px;
            /* border: 2px solid rgb(255, 81, 0); */
            display:inline;
            float: left;
            padding-left:100px;
            
        }
     
 
        .top_left .one {
            display: none;
            /* border: 2px solid rgb(253, 17, 0); */
            position: absolute;
        }
        .top_left:hover .one{
            display: block;
            background-color:#e3e4e5;
            
        }
 
 
 
        .top_right{
            /* border: 2px solid blue; */
            border: 0px,0px,0px,0px;
            float: right;
            padding-right:100px;
            display:inline;
        }
        .ul1 .li1{
            float: left;
            width: 100px;
            position: relative;
        }
         .ul1 .one{
            display: none;
            position: absolute; 
         }
        .li1:hover .one{
            display: block;
            background-color:#e3e4e5;
        }
 
 
 
 
 
        .bottom{
            width: 1580px;
            height: 180px;
            background-color: rgb(255, 255, 255);
        }
        .bottom .bottom_left{
            float: left;
            /* border: 2px solid blue;  */
            padding-top:50px;
            padding-left:180px;
       }
       
       .bottom .bottom_middle{
            /* border: 2px solid blue;  */
            float: left;
    
            padding-top:40px;
            /* padding-left:150px; */
            padding-right:200px;
       }
       .bottom .bottom_right{
            float: left;
            /* border: 2px solid blue;  */
            padding-top:50px;
            padding-right:100px;
       }
       
       /* 外边距 margin */
       /* 内边距 padding */
 
       .bottom_middle input{
            width:454px;
            height:32px;
            border:2px solid #c62020;
            padding-left: 4px;
            color:rgb(104, 103, 103);
            font:14px/32px "microsoft yahei";
            float:left;
        }
       .bottom_middle button{
            width:80px;
            height:35px;
            background-color:#e1251b; 
            float:left;
            font:16px/36px "microsoft yahei";
            color:#fff;
            cursor:pointer;
        }
        .bottom_middle .button1{
            width:150px;
            height:35px;
            background-color:#ffffff; 
            float:left;
            font:16px/36px "microsoft yahei";
            color:#e1251b;
            cursor:pointer;
        }
        
        .bottom .bottom_middle .bottom_middle_1{
            /* border: 2px solid rgb(255, 0, 0); */
            margin-left: 80px;
        }
        .bottom .bottom_middle .bottom_middle_2{
            border: 2px solid rgb(255, 255, 255);
            margin-top: 20px;
            margin-left: 80px;
        }
        .bottom_middle_2_1{
            font:16px/36px "microsoft yahei";
            color:#999999;
        }
        .bottom .bottom_middle .bottom_middle_3{
            /* border: 2px solid rgba(0, 0, 0, 0.396); */
            margin-left: 60px;
            padding-top: 0px;
        }
 
       
 
 
        section{
            background-color: #f4f4f4;
            padding-top: 12px;
            width: 1580px;
            height: 580px;
            /* border: 2px solid blue; */
        }
       
 
        section .div2{
            background-color: rgb(255, 255, 255);
            margin-left: 120px;
            
            padding-left: 10px;
            width: 200px;
            height: 580px;
            /* border: 2px solid blue; */
            float: left;
        }
 
 
        section .div3{
            width: 650px;
            height: 580px;
            /* border: 2px solid blue; */
            margin-left: 5px;
            margin-right: 5px;
            float: left;
        }
 
 
 
 
        section .div4{
            width: 200px;
            height: 580px;
            /* border: 2px solid blue; */
            float: left;
        }
        section .div4 .div4-1{
            margin-bottom: 3px;
        }
        section .div4 .div4-2{
            margin-bottom: 3px;
        }
 
        section .div5{
            width: 240px;
            height: 580px;
            background-color: rgb(255, 255, 255);
            margin-left:  5px;
            /* border: 2px solid blue; */
            float: left;
        }
 
        
        section .div5 .div5-3{
            
            /* border: 2px solid blue; */
            display: inline-block;
        }
        section .div5 .div5-4{
            
            /* border: 2px solid blue; */
            display: inline-block;
        }

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值