<html>
<head>
<title>marquee滚动播放</title>
<meta charset="UTF-8"/>
<style type="text/css">
.marqueeBox{
height: 20px;
background: yellow;
}
</style>
</head>
<body>
<!--
direction:方向,可选值:left, right ,up ,down
scrollamount:速度,数值越大,速度越快
-->
<marquee class="marqueeBox" direction="up" scrollamount="3">
<div>111111111111</div>
<div>2222222222</div>
<div>3333333333</div>
<div>4444444444444</div>
<div>55555555555</div>
</marquee>
</body>
</html>
网友评论