跑马灯特效收集

<marquee>...</marquee>普通卷动
<marquee behavior=slide>...</marquee>滑动
<marquee behavior=scroll>...</marquee>预设卷动
<marquee behavior=alternate>...</marquee>来回卷动
<marquee direction=down>...</marquee>向下卷动
<marquee direction=up>...</marquee>向上卷动
<marquee direction=right></marquee>向右卷动
<marquee direction=left></marquee>向左卷动
<marquee loop=2>...</marquee>卷动次数
<marquee width=180>...</marquee>设定宽度
<marquee height=30>...</marquee>设定高度
<marquee bgcolor=FF0000>...</marquee>设定背景颜色
<marquee scrollamount=30>...</marquee>设定滚动速度
<marquee scrolldelay=300>...</marquee>设定卷动时间
<marquee onmouseover="this.stop()">...</marquee>鼠标经过上面时停止滚动
<marquee onmouseover="this.start()">...</marquee>鼠标离开时开始滚动

鼠标移上,停止运动;鼠标离开,开始运动:

<marquee direction=’left’ loop=2 width=960 height=30 scrollamount=30 scrolldelay=300 onmouseover="this.stop()" onmouseover="this.start()">...</marquee>

图片跑马灯效果
<a href="链接"; target="_blank"><img src="图片"; width="150" height="100"></a>

原文地址:https://www.cnblogs.com/_ymw/p/1855973.html