分享2款博客底部加载访问访客Sitema美化代码适用于各种场景

作者 : 官方 本文共3717个字,预计阅读时间需要10分钟 发布时间: 2020-04-29 共49人阅读

分享2款博客和其他程序底部加载访问访客Sitema美化代码适用于各种场景

<style>
#nr{
font-size:15px;
margin: 0;
background: -webkit-linear-gradient(left,
#ffffff,
#ff0000 6.25%,
#ff7d00 12.5%,
#ffff00 18.75%,
#00ff00 25%,
#00ffff 31.25%,
#0000ff 37.5%,
#ff00ff 43.75%,
#ffff00 50%,
#ff0000 56.25%,
#ff7d00 62.5%,
#ffff00 68.75%,
#00ff00 75%,
#00ffff 81.25%,
#0000ff 87.5%,
#ff00ff 93.75%,
#ffff00 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-size: 200% 100%;
animation: masked-animation 3s infinite linear;
}
@keyframes masked-animation {
0% {
background-position: 0 0;
}
100% {
background-position: -100%, 0;
}
}
</style>
<b id=”nr”>

只需把代码放到统计代码顶部即可


第二种

</script>
<p class=”fr xk-data” id=”wp_vip_stats”>
<em>本周更新</em> <strong class=”hl”><?php echo get_week_post_count(); ?></strong>
<em>资源数</em><strong class=”hl”><?php $count_posts = wp_count_posts(); echo $published_posts = $count_posts->publish;?></strong>
</p>
加载次数 <?php echo get_num_queries(); ?>
加载时间 <?php timer_stop(1); ?>
<script async src=”https://api.ly522.com/js/jilei.pure.mini.js”></script>
<span id=”jilei_container_site_pv”>本站总访问量<span id=”jilei_value_site_pv”></span>次</span>
<span class=”post-meta-divider”>|</span>
<span id=”jilei_container_site_uv”>本站访客数<span id=”jilei_value_site_uv”></span>人</span></p>
<a href=”http://www.vpsqv.cn” target=””_blank””><font color=””#FF9933″”>RD.IT速极网</font></a></a> &nbsp;
<font color=”#FF0000″>基于</font><font color=”#FF9900″>宝塔</font><font color=”#FF9900″>+M</font><font color=”#FFCC00″>ys</font><font color=”#66CC00″>ql</font><font color=”#00FFCC”>5.</font><font color=”#66CCFF”>6+</font><font color=”#9900CC”>Ph</font><font color=”#FF0000″>p7</font><font color=”#FF9900″>.3</font><font color=”#FFCC00″>+H</font><font color=”#66CC00″>tt</font><font color=”#00FFCC”>p/</font><font color=”#66CCFF”>2A</font><font color=”#9900CC”>+S</font><font color=”#FF0000″>SL</font> <a href=”/sitemap.xml” target=”_blank”> <font color=”#FF0000″>S</font><font color=”#FF9900″>i</font><font color=”#FFCC00″>t</font><font color=”#66CC00″>e</font><font color=”#00FFCC”>m</font><font color=”#66CCFF”>a</font><font color=”#9900CC”>
</font></a>
<span id=”momk”>本站已安全运行1244天6小时52分18秒</span><span id=”momk” style=”color: #ff0000;”></span>

<div id=”chakhsu”></div>
<script>
var chakhsu = function (r) {
function t() {
return b[Math.floor(Math.random() * b.length)]
}
function e() {
return String.fromCharCode(94 * Math.random() + 33)
}
function n(r) {
for (var n = document.createDocumentFragment(), i = 0; r > i; i++) {
var l = document.createElement(“span”);
l.textContent = e(), l.style.color = t(), n.appendChild(l)
}
return n
}
function i() {
var t = o[c.skillI];
c.step ? c.step– : (c.step = g, c.prefixP < l.length ? (c.prefixP >= 0 && (c.text += l[c.prefixP]), c.prefixP++) : “forward” === c.direction ? c.skillP < t.length ? (c.text += t[c.skillP], c.skillP++) : c.delay ? c.delay– : (c.direction = “backward”, c.delay = a) : c.skillP > 0 ? (c.text = c.text.slice(0, -1), c.skillP–) : (c.skillI = (c.skillI + 1) % o.length, c.direction = “forward”)), r.textContent = c.text, r.appendChild(n(c.prefixP < l.length ? Math.min(s, s + c.prefixP) : Math.min(s, t.length – c.skillP))), setTimeout(i, d)
}
/*以下内容自定义修改*/
var l = “众里寻他千百度,”,
o = [“蓦然回首,那人却在灯火阑珊处。”, ].map(function (r) {
return r + “”
}), a = 2, g = 1, s = 5, d = 75,
b = [“rgb(110,64,170)”, “rgb(150,61,179)”, “rgb(191,60,175)”, “rgb(228,65,157)”, “rgb(254,75,131)”, “rgb(255,94,99)”, “rgb(255,120,71)”, “rgb(251,150,51)”, “rgb(226,183,47)”, “rgb(198,214,60)”, “rgb(175,240,91)”, “rgb(127,246,88)”, “rgb(82,246,103)”, “rgb(48,239,130)”, “rgb(29,223,163)”, “rgb(26,199,194)”, “rgb(35,171,216)”, “rgb(54,140,225)”, “rgb(76,110,219)”, “rgb(96,84,200)”],
c = {text: “”, prefixP: -s, skillI: 0, skillP: 0, direction: “forward”, delay: a, step: g};
i()
};
chakhsu(document.getElementById(‘chakhsu’));
</script>
<div>
<span id=”shoulu”></span>
<style>
#momk{animation:change 10s infinite;font-weight:800; }
@keyframes change{0%{color:#5cb85c;}25%{color:#556bd8;}50%{color:#e40707;}75%{color:#66e616;}100% {color:#67bd31;}}
</style>

只需把代码放到网站底部文件即可


IT速极网-【教程资源】 » 分享2款博客底部加载访问访客Sitema美化代码适用于各种场景

常见问题FAQ

RD.IT速极网可以技术支持吗?
需要技术技术资源联系客服即可!

发表评论