css布局实现手机端影视app会员中心我的页面效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现手机端影视app会员中心我的页面效果代码

代码标签: 手机 影视 app 会员中心 我的 页面 效果

下面为部分代码预览,完整代码请点击下载或在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/yingshi/top-bg.png) top center no-repeat #ffffff;
            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;
        }
        /*顶部标题 返回*/
        .top {
            position: absolute;
            top: .15rem;
            left: 0;
            height: .9rem;
            line-height: .9rem;
            width: 100%;
            text-align: center;
            font-size: .38rem;
            color: #FFFFFF;
        }
        .top i {
            background: url(//repo.bfw.wiki/bfwrepo/images/yingshi/icon-back.png) center left no-repeat;
            position: absolute;
            top: 0;
            left: .2rem;
            height: 100%;
            display: inline-block;
            background-size: .16rem .30rem;
            width: .5rem;
            height: 100%;
        }
        /*个人信息*/
        .info-card {
            margin-top: 1.3rem;
            width: 100%;
            height: 3.6rem;
            padding: 0 .1rem;
            background: url(//repo.bfw.wiki/bfwrepo/images/yingshi/card-bg.png) center center no-repeat;
            background-size: 100%;
        }
        .info-card .user {
            display: flex;
            align-items: center;
            width: 100%;
            padding: .6rem .5rem;
            color: #FFFFFF;
        }
        .info-card .user img {
            margin-right: .28rem;
            width: .85rem;
            height: .85rem;
            border-radius: 50.........完整代码请登录后点击上方下载按钮下载查看

网友评论0