Heim >Web-Frontend >HTML-Tutorial >[转]实现文字跑马灯效果,scrolling text from right to left_html/css_WEB-ITnose
<div><marquee direction="left" behavior="scroll" scrollamount="10" scrolldelay="0" loop="-1" width="1000" height="50" bgcolor="#0099FF" hspace="10" vspace="10">test; (2)behavior:test: scroll:test,reqeat,test slide:test,not...</marquee></div>
Direction: up, down, left, right
scrollamount:滚动速度,单位像素
loop: -1无限循环