是否可以更改HTML的< marquee>的速度.标签? [英] Is it possible to change the speed of HTML's <marquee> tag?

查看:76
本文介绍了是否可以更改HTML的< marquee>的速度.标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当一个选取框离开屏幕时,经过一小段时间后,它将从另一侧进入. 有什么办法可以减少这个时间?

When one marquee leaves the screen then after a short time gap it enters from another side. Is there any way to reduce this time?

推荐答案

<marquee behavior=scroll direction="left" scrollamount="5">Your message here</marquee>

scrollamount控制文本的速度:值越大,滚动速度越快

scrollamount controls the speed of text: higher the value higher is the scrolling speed

这篇关于是否可以更改HTML的&lt; marquee&gt;的速度.标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆