查看: 6188|回复: 0

京东购物网页商品分类界面设计

[复制链接]

10

主题

1

回帖

70

积分

注册会员

Rank: 2

积分
70
发表于 2022-4-15 15:33:35 | 显示全部楼层 |阅读模式
京东购物网页商品分类界面设计
了解更多关注微信公众号:风火轮技术团队


想要实现的效果图片
京东购物界面分类界面-封面.jpg


实现的代码:
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,inital-scale=1.0"/>
    <title>京东首页界面</title>
    <link rel="stylesheet" href="font_3328321_fw8r461zh3n/iconfont.css">
    <style>
        *{
            margin: 0;
            padding:0;
        }
        html,body{
            height:100%;
        }
        ul{
            list-style: none;
        }
        body{
            display: flex;
            flex-direction: column;
        }
        header{
            height: 45px;
            background: gray;
            text-align: center;
            color:mediumblue;
            font-weight: bolder;
            padding-top:10px;
        }
        footer{
            height: 50px;
            background: gray;
            text-align: center;
            color:mediumblue;
            font-weight: bolder;
           padding-top:10px ;
        }
        setion{
            flex:1;
            display: flex;
            overflow: auto;
        }
        setion ul{
            width:85px;
            overflow: auto;
        }
        setion ul li{
            height: 45px;
            line-height: 45px;
            text-align: center;
            font-size: 14px;
            background: lightgrey;
        }
        setion ul li:hover{
            background: white;
            color:#e96062
        }
        setion>div{
            flex:1;
            background:lightpink;

            display: flex;
            flex-wrap: wrap;
            align-content: flex-start;
            overflow: auto;
        }
        ::-webkit-scrollbar{
            display: none;
        }

        setion .content>div{
            height: 101px;
            width: 33.33%;
            text-align:center;
            font-size: 12px;
        }
        <!--
        span标签换为img标签, 就可以实现首页界面的改变,让我们本来的卡通图表变为真实的物品的图片--,  >
        setion .content > div span {
            width: 60px;
            height: 50px;
            margin-top: 20px;
        }
       </style>

</head>


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-4-20 19:38 , Processed in 0.053027 second(s), 22 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn