我有一个 Bootstrap 模态,我想在其中添加字幕滚动文本。但是,它在模态之外工作,但不在其中。
<marquee class="section-flash-marquee" behavior="alternate" scrolldelay="100">Bouncing text...</marquee>
这是一个演示: http://jsfiddle.net/CxdUQ/3045/
所以我的问题是如何让滚动文本在模式中工作?
<marquee class="section-flash-marquee" behavior="alternate" scrolldelay="100">Bouncing text...</marquee>
^^ 或者是否有 CSS 或 jQuery 方法来重新创建上面的内容以便文本来回滚动?
谢谢
最佳答案
Marquee is obsolete , 并且可能有意想不到的行为。
关于jQuery Marquee 滚动文本在 Bootstrap Modal 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53420609/