使用marquee标签即可实现
效果图:
代码如下:
<style>
marquee{
margin-right:-2.5rem;
margin-left:-1.2rem;
}
</style>
<html>
<marquee>
<span style="">此处为滚动内容 --予沬的博客</span>
</marquee>
</html>
使用marquee标签即可实现
效果图:
代码如下:
<style>
marquee{
margin-right:-2.5rem;
margin-left:-1.2rem;
}
</style>
<html>
<marquee>
<span style="">此处为滚动内容 --予沬的博客</span>
</marquee>
</html>