vue+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: url(//repo.bfw.wiki/bfwrepo/images/app/qiandao/bg.jpg) top center no-repeat #f269b5;background-size: 100% auto;}
    img{vertical-align: middle;max-width: 100%;}
    .layui-m-layerchild{width: 80%!important;}
    .top-bar{width: 100%;height: 1rem;line-height: 1rem;text-align: center;position: relative;font-size: .36rem;color: #fff;}
    .top-bar a{width: .5rem;height: 1rem;position: absolute;top: 0;left: .3rem;background: url(//repo.bfw.wiki/bfwrepo/images/app/qiandao/icon-left.png) left center no-repeat;background-size: .18rem auto;z-index: 2;}
    /* 签到天数 */
    .sign-day{width: 100%;height: 1.32rem;background: url(//repo.bfw.wiki/bfwrepo/images/app/qiandao/sign-num.png) center center no-repeat;background-size: 4.12rem auto;margin-top: .5rem;position: relative;}
    .sign-day span{font-size: .48rem;color: #fb558b;font-weight: bold;position: absolute;left: 4.52rem;top: .5rem;}
    /* 主体 */
    .container{width: 100%;padding: .3rem .5rem .5rem .5rem;position: relative;}
    .container .score{width: 100%;display: flex;flex-wrap: wrap;justify-content: center;align-items: center;}
    .container .score .item{flex-shrink: 0;width: 1.6rem;height: 1.2rem;border: .01rem solid #eeeeee;background: #f8f8f8;margin: 1rem .15rem 0 .15rem;border-radius: .15rem;text-align: center;position: relative;display: flex;flex-direction: column;align-items: center;justify-content: center;z-index: 5;}
    .container .score .item img{width: .64rem;height: .64rem;}
    .container .score .item span{font-size: .24rem;color: #333333;display:block;margin-top: .05rem;}
    .container .score .item i{position: absolute;font-size: .24rem;color: #777777;display: inline-block;bottom: -.16rem;left: -.16rem;width: .38rem;height: .38rem;line-height: .38rem;text-align: center;background: #eeeeee;border-radius: .05rem;}
    .container .scor.........完整代码请登录后点击上方下载按钮下载查看

网友评论0