<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
我在本文的帮助下创建了一个选取框 - http://www.hongkiat.com/blog/css3-animation-advanced-marquee/
但我不知道如何添加超过 2 行显示的文本。 任何帮助将不胜感激。
文章的作者似乎没有回答任何问题。
谢谢!
最佳答案
看看这个:http://jsfiddle.net/jofish999/976xpLvo/
我所做的就是添加另一个选取框并为其指定一个唯一的单独 ID。然后,我使用 position: relative
来定位它
<div class="marquee">
...
</div>
<div class="marquee" id="second">
...
</div>
然后我给它设置了样式:
#second {
position: relative;
top: -24px;
}
关于html - CSS Marquee 添加更多文本行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32290077/