juke's Archiver

juke 发表于 2020-3-22 11:42

幻彩文字,让你的文章与众不同

[align=center]来源:[img]https://kuchingshare.my/other/p/icode.jpg[/img]  [url=http://icode.258club.com][color=red][b]爱秀代码[/b][/color][/url]        作者:[img]https://kuchingshare.my/other/p/wujie.jpg[/img]  [color=#0086FF]无界[/color]  [/align]

[colorT]预览图:[/colorT]

[attach]1[/attach]

[colorT]第一步:进入后台打开 界面--编辑器设置--Discuz!代码,新建一个标签 colorT 的新discuz代码。如下图:[/colorT]

[attach]3[/attach]

[colorT]第二步:进入详情

1、标签:
2、替换内容[/colorT][code]<a id="color_t">{1}</a>
[/code][colorT]3、例子:可不填
4、解释:幻彩文字(可选)
5、参数个数:1
6、参数提示语:在这里输入幻彩文字
7、嵌套次数:1

第三步:提交。

第四步:打开post模板,在{subtemplate header}的下边加:[/colorT][code]{eval $zongjifen=$GLOBALS[extcredits1]+$GLOBALS[extcredits2]+$GLOBALS[extcredits3];}
<!--{if ($zongjifen<9999)}-->
<style>
#e_cmd_custom1_colorT{display: none;}
</style>
<!--{/if}-->
[/code][colorT]说明:当总积分大于9999时才有权使用改代码,可以自行调节。

第五步:加下边代码放到css_common模板的最下边。[/colorT][code]#color_t {
    color: #8c888b;
    background: -webkit-linear-gradient(45deg,#00f2ff,#ff5200,#ffd300,#4000ff,#006bff);
    -moz-linear-gradient(45deg,#00f2ff,#ff5200,#ffd300,#4000ff,#006bff): ;
    -ms-linear-gradient(45deg,#00f2ff,#ff5200,#ffd300,#4000ff,#006bff): ;
    color: transparent;
    -webkit-background-clip: text;
    animation: ran 10s linear infinite;
}
[/code][colorT]发帖时点击编辑器里的幻彩文字图标发帖即可。[/colorT]

juke 发表于 2020-3-22 14:14

[colorT]测试幻彩文字[/colorT]

[attach]4[/attach]

[attach]5[/attach]

juke 发表于 2025-4-10 16:28

[quote]看帖回帖那是一定要的:[img]https://kuchingshare.my/other/p/haotie.gif[/img]精彩至极,文章写的真棒,对我非常有帮助[/quote]

juke 发表于 2025-4-10 16:28

感谢楼主的无私奉献!

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.