加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.css 3.17 KB
一键复制 编辑 原始数据 按行查看 历史
抱着猪蹄啃 提交于 2018-11-19 19:03 . 修改循环
*{
margin: 0;
padding: 0;
font-size: 0;
}
body{
background: #dedede;
}
.container{
width: 100vw;
height: 100vh;
overflow: hidden;
}
.container--item__header{
width: 100vw;
line-height: 1.06rem;
text-align: center;
vertical-align: middle;
background: #fff;
}
.container--img__left{
position: absolute;
top: .3rem;
left: .4rem;
width: .4rem;
height: .5rem;
vertical-align: middle;
}
.container--img__brush{
position: absolute;
left: 61%;
top: .35rem;
width: .4rem;
height: .4rem;
vertical-align: middle;
}
.container--img__user{
position: absolute;
top: .1rem;
right: 1.2rem;
width: .84rem;
height: .84rem;
vertical-align: middle;
}
.container--img__plus{
position: absolute;
top: .26rem;
right: .4rem;
width: .6rem;
height: .6rem;
vertical-align: middle;
}
.container--item__information{
font-size: .49rem;
vertical-align: middle;
}
.container--item__box{
position: relative;
top: 0;
list-style: none;
width: 100vw;
margin-top: .3rem;
transition: top .1s ease-in-out;
}
.container--item__what{
position: relative;
left: 0;
height: 2.4rem;
background: #fff;
z-index: 999;
transition: left .2s ease-in-out;
}
.container--img__wallet{
position: absolute;
overflow: hidden;
top: .3rem;
display: inline-block;
background: #fe8a11;
width: 1.84rem;
line-height: 1.84rem;
text-align: center;
vertical-align: middle;
border-radius: 5px;
margin-left: .4rem;
}
.container--img__wallet>img{
width: 1rem;
height: 1.04rem;
vertical-align: middle;
}
.container--text__account{
position: absolute;
top: .5rem;
left: 2.3rem;
margin-left: .4rem;
font-size: .533333333rem;
}
.container--text__time{
position: absolute;
right: .4rem;
top: .6rem;
font-size: .35rem;
color: #c4c3c9;
}
.container--text__discounts{
display: inline;
position: absolute;
left: 2.3rem;
top: 1.5rem;
margin-left: .4rem;
font-size: .38rem;
color: #c4c3c9;
}
.container--text__discounts>span{
font-size: .38rem;
color: #c4c3c9;
}
.container--text__det{
display: inline-block;
text-align: center;
line-height: 2.4rem;
width: 2.5rem;
border-top-right-radius: 20px;
font-size: .5rem;
background: red;
color: #fff;
z-index: 999;
position: relative;
left: 100%;
}
.container--imt__gift{
width: .38rem;
height: .38rem;
position: relative;
top: .05rem;
}
.color{
background: #ff4e08;
}
.container--item__front{
background: #fff;
margin-top: .3rem;
}
.container--img__time{
width: .8rem;
height: .8rem;
vertical-align: middle;
margin-left: .4rem;
}
.container--item__previous{
font-size: .38rem;
vertical-align: middle;
margin-left: .2rem;
color: #c4c3c9;
}
.blue{
background: #01cea5;
}
.blue>img{
width: 2rem;
height: 1rem;
position: relative;
left: -0.1rem;
}
.red{
background: #d9081d;
}
.container--text__official{
position: absolute;
left: 50%;
top: .7rem;
background: #d9081d;
font-size: .35rem;
color: #fff;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化