* { margin:0; padding:0; } .box { width:200px; height:40px; border:1px solid #66ffcc; margin:200px auto; background-color:#efefef; overflow:hidden; } .box li { width:200px; height:40px; line-height:40px; text-align:center; list-style:none; }
简单的文字单行滚动