给任何一个页面或位置加一个滚动字幕

将以下代码直接放在你想要的地方

<style type="text/css">
.表格 {
  color: #FFF;
  background-image: url(https://njxzbbq.top/wp-content/uploads/2022/11/1.png);
}
.欢迎 {
  font-size: 30px;
  font-weight: bold;
  color: #F90;
}
marquee {
  color: #F30;
}
.字体 {
  font-size: 24px;
}
</style>
<table width="1200" border="0" cellpadding="20" class="字体">
  <tr>
    <td align="center" class="表格"><marquee direction="right">
      欢迎点开此分享
    ,希望大家喜欢
    </marquee></td>
  </tr>
</table>
<span class="字体"></span>

对url括号里的背景图以及文字进行修改,颜色和大小也可以左适当调整

请登录后发表评论

    没有回复内容