react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
82 lines (69 loc) • 1.81 kB
text/less
.winner {
width: 100%;
padding: 10px 14px;
position: relative;
img{
height: 745px;
width: 100%;
}
.winnerContent {
position: absolute;
width: 100%;
padding: 40px;
top: 0;
left: 0;
.winnerNum {
height: 50px;
font-size: 28px;
line-height: 50px;
color: #FF5151;
text-align: center;
margin-top: 20px;
}
@keyframes scorll {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(0, -90%);
display: none;
}
}
.winnerList {
height: 550px;
padding: 0 40px;
margin-top: 10px;
overflow: hidden;
.winnerScroll {
animation: scorll 80s linear infinite normal;
transform: translate3d(0, 0, 0);
position: relative;
}
.winnerItem {
width: 100%;
height: 55px;
line-height: 55px;
color: #666;
span {
display: inline-block;
font-size: 24px;
text-align: left;
}
.winnerItemText {
width: 15%;
}
.winnerItemPhone {
width: 35%;
}
.winnerItemPrize {
color: #FF5656;
width: 35%;
vertical-align: top;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}
}