3 回答
TA贡献2016条经验 获得超9个赞
lucygoosey 你的问题已经解决了,如果你想要的更多,你应该为此付出更多的努力
body {
margin: 0;
font-family: "UniversLTPro-Ex";
font-size: 30px;
}
a {
text-decoration: none;
color: #000;
}
.marquee {
height: 35px;
width: 300%;
position: relative;
padding: 8px 0 4px 0;
border: none;
}
.marq{
background-color: #e9e5fb;
border-top: 1px solid black;
border-bottom: 1px solid black;
}
.marquee span {
float: left;
width: 300px;
}
@keyframes marquee {
0% { left: 0; }
100% { left: -150%; }
}
<div class="marq">
<marquee onmouseover="this.stop();" onmouseout="this.start();">
<div class="marquee">
<span><a href="#">twitter</a></span>
<span><a href="#">instagram</a></span>
<span><a href="#">pinterest</a></span>
<span><a href="#">spotify</a></span>
<span><a href="#">magazine</a></span>
</div>
</marquee>
</div>
阅读有关选框标签的更多信息
添加回答
举报