// 左右滚动 对应结构span
//.container_text{
// display: inline-block;
// //padding-left: 100%; /* show the marquee just outside the paragraph */
// animation: marquee 18s linear infinite;
// font-family: PingFang-SC-Medium;
// font-size: 12px;
// color: #2e9ffb;
// .notify_title{
// margin-right: 60px;
// }
//}
// 上下滚动 对应结构div
.container_text{
display: inline-block;
padding-top: 10%;
animation: marquee 5s linear infinite;
font-family: PingFang-SC-Medium;
font-size: 12px;
color: #2e9ffb;
.notify_title{
margin-left: 80px;
}
}
}
/* Make it move 左右滚动 */
//@keyframes marquee {
// 0% {
// transform: translate(0, 0);
// }
// 100% {
// transform: translate(-100%, 0);
// }
//}
// 上下滚动
@keyframes marquee {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(0, -100%);
}
}