示例图:
打开7b2目录主题的TempParts/circle/circle-form.php文件.
搜索代码:
class="circle-top"
在此代码上面添加下方的文字滚动通知代码:
<style>
.xt_notice {
background: #FFF;
line-height: 30px;
padding: 5px 16px;
border-radius: 4px;
}
.xt_notice-content {
flex: 1;
overflow: hidden;
}
.xt_notice-content span {
display: block;
width: 1300px;
white-space: nowrap;
animation: marquee 15s linear infinite;
padding-left: 100%;
padding-right: 90%;
}
@keyframes marquee {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-100%);
}
}
</style>
<div class="xt_notice wrapper" style="margin-bottom: 10px;"><span style="float: left;margin-right: 5px;">通知:</span>
<div class="xt_notice-content"><span>通知的内容</span></div>
</div>
部分文章/资源来源于网络,文章标题下部均已标注来源,如有侵权,请点击此处联系客服进行删除,本站将会在第一时间内进行处理!
如果您要搬运本站文章,请在文章底部标注。侵删请致信:663829289@qq.com
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系本站进行处理。图床支持:https://space.simao58.cn/
如果文章帮助到您,还请您点击一下广告支持本站一下!
Your article gave me a lot of inspiration, I hope you can explain your point of view in more detail, because I have some doubts, thank you.