话不多,css源码贴上,做的是标签鼠标移过去开始滚动的效果

.tuijian_main_xinxi_h1 {
margin-top: 20px;
font-size: 16px;
color: #fff;
font-weight: 700;
overflow: hidden;
width: 95px;
white-space: nowrap;
}
.tuijian_nav_fr ul li a:hover .tuijian_main_xinxi_h1{
animation: marquee 5s linear infinite;
}

@keyframes marquee {
0% { text-indent: 0px; }
100% { text-indent: -195px }
}