html - 选取框在 Google Chrome 中不工作?

标签 html google-chrome marquee

<分区>

在 marquee 中弹跳的代码在 Google Chrome 浏览器中不起作用...为什么会这样?
代码是:

 <marquee height=200 width=1200 behavior=alternate>...</marquee>

什么行为在 Google Chrome 中有效?

最佳答案

来自 w3.org :

No, really. don't use it.

另请注意,大多数用户总是觉得字幕令人反感。这就是为什么您可能不应该尝试使用 JavaScript 或其他方式模拟此行为的原因。

关于html - 选取框在 Google Chrome 中不工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15789373/

相关文章:

javascript - css3 转换 matrix3d 值

javascript - ctx.fillText 不绘制连接

linux - 网站在 linux 服务器上托管时丢失 css 内容

Android TextView : is there a way to force the marquee animation with short text?

java - 是否有任何库可以让我们在 recyclerview 中获得选框效果(例如 hotstar vip 页面滚动图像)?

css - 居中一个 div,在一个 div 内的一个 div 内 - 有什么建议吗?

javascript - 在表单提交时关闭 Bootstrap 模式

Javascript - 拖动后如何获得矩形,圆形坐标?

javascript - 防止 HTML 文件输入在使用 Android 的 native 文件选择器时选择 Google Drive 中的文件

java - 无法获得跑马灯效果