css布局手机端每日签到领积分h5页面效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局手机端每日签到领积分h5页面效果代码

代码标签: 每日 签到 积分 h5 页面 效果

下面为部分代码预览,完整代码请点击下载或在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;
        }
        body {
            width: 100%;
            overflow-x: hidden;
            background: url(//repo.bfw.wiki/bfwrepo/images/qiandao/bg.jpg) top center no-repeat #f5f5f5;
            background-size: 100%;
        }
        img {
            vertical-align: middle;
            max-width: 100%;
        }
        a:hover,a:active,a:visited,a:link,a:focus {
            -webkit-tap-highlight-color: transparent;
            outline: none;
            text-decoration: none;
        }
        .red {
            color: #ff2d23;
        }
        .container {
            width: 100%;
            padding: .4rem .2rem;
        }
        /*顶部*/
        .top-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #FFFFFF;
        }
        .top-bar i {
            display: inline-block;
            width: 1rem;
            height: .5rem;
            background: url(//repo.bfw.wiki/bfwrepo/images/qiandao/icon-left.png) left center no-repeat;
            background-size: auto .40rem;
        }
        .top-bar span {
            font-size: .36rem;
        }
        .top-bar a {
            font-size: .26rem;
        }
        /*积分面板*/
        .jf-panel {
            width: 100%;
            padding-top: .85rem;
            padding-right: .35rem;
        }
        .jf-panel .dj {
            float: right;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            font-size: .25rem;
            background: #fed4b7;
            border-radius: .42rem;
        }
        .jf-panel .dj img {
            width: .42rem;
            height: .42rem;
        }
        .jf-panel .dj span {
            padding: 0 .25rem 0 .14rem;
        }
        .jf-panel .jf {
            padding-top: .3rem;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            width: 100%;
            padding-bottom: .48rem;
        }
        .jf-panel .jf label {
            font-size: .26rem;
        }
        .jf-panel .jf span {
            font-size: .88rem;
            line-height: .70rem;
            padding-right: .3rem;
            padding-left: .05rem;
        }
        .jf-panel .jf a {
            font-size: .24rem;
            padding: .05rem .42rem .06rem .18rem;
            background: url(//repo.bfw.wiki/bfwrepo/images/qiandao/icon-right.png) right .14rem center no-repe.........完整代码请登录后点击上方下载按钮下载查看

网友评论0