css布局实现手机端移动端优惠券列表页面代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现手机端移动端优惠券列表页面代码

代码标签: 手机 移动 优惠券 列表 页面

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>优惠券</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <style>
        * {
            margin: 0;
            padding: 0;
            border: 0;
            list-style: none;
            text-decoration: none;
            color: inherit;
            font-weight: normal;
            font-family: "微软雅黑";
            box-sizing: border-box;
            font-style: normal;
            outline: none;
            -webkit-tap-highlight-color: transparent;
        }
        body {
            width: 100%;
            overflow-x: hidden;
            background: #f5f5f5;
        }
        img {
            vertical-align: middle;
            max-width: 100%;
        }
        .top-bar {
            width: 100%;
            height: .88rem;
            line-height: .88rem;
            font-size: .36rem;
            color: #ffffff;
            background: #fc3f3f;
            text-align: center;
            padding: 0 .2rem;
            position: relative;
        }
        .top-bar a {
            display: inline-block;
            width: .5rem;
            height: .88rem;
            background: url(//repo.bfw.wiki/bfwrepo/icon/5ff8f2c747054.png) left center no-repeat;
            background-size: .37rem;
            position: absolute;
            left: .2rem;
            top: 0;
            z-index: 1;
        }
        /* 类别 */
        .cate {
            width: 100%;
            height: 1rem;
            padding: 0 .4rem;
            font-size: .32rem;
            color: #666666;
            background: #ffffff;
        }
        .cate ul {
            display: flex;
            justify-content:.........完整代码请登录后点击上方下载按钮下载查看

网友评论0