钧言

为网页添加头部进度条
代码:<!--加载进度条--> <link href="//cdn.bootcss.c...
扫描右侧二维码阅读全文
15
2018/08

为网页添加头部进度条

代码:

<!--加载进度条-->
<link href="//cdn.bootcss.com/pace/1.0.2/themes/orange/pace-theme-flash.css" rel="stylesheet" />
<script> paceOptions = { elements: {selectors: ['#footer']}};</script>
<script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script>

代码请添加在主题文件夹下的header.php

效果.png

Last modification:October 2nd, 2018 at 05:59 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment