博客侧边栏公告(支持HTML代码)(支持JS代码)

<div id='btnList'>

<a class="ivu-btn ivu-btn-primary" href="https://cn.vuejs.org/v2/api/" target="_blank">Vue</a>
<a class="ivu-btn ivu-btn-primary" href="https://www.iviewui.com/" target="_blank">iView</a>
<a class="ivu-btn ivu-btn-primary" href="http://www.dicts.cn/" target="_blank">dicts</a>
<a class="ivu-btn ivu-btn-primary" href="https://gitee.com/" target="_blank">gitee</a> <a class="ivu-btn ivu-btn-primary" href="https://tw.voicetube.com/" target="_blank">voicetube</a>
<a class="ivu-btn ivu-btn-primary" href="https://www.buzzfeed.com/" target="_blank">buzzfeed</a>
<a class="ivu-btn ivu-btn-primary" href="http://www.ozdic.com/" target="_blank">ozdic词组</a>
<a class="ivu-btn ivu-btn-primary" href="http://electronjs.org/docs" target="_blank">electronjs</a>
<a class="ivu-btn ivu-btn-primary" href="http://huziketang.mangojuice.top/books/react/lesson28" target="_blank">react</a>
<a class="ivu-btn ivu-btn-primary" href="https://react.docschina.org/docs/hello-world.html" target="_blank">react2</a>
<a class="ivu-btn ivu-btn-primary" href="https://juejin.im/book/5bc844166fb9a05cd676ebca" target="_blank">掘金</a>
<a class="ivu-btn ivu-btn-primary" href="https://ant.design/docs/react/introduce-cn" target="_blank">AntDesign</a>
<a class="ivu-btn ivu-btn-primary" href="https://github.com/yezihaohao/react-admin" target="_blank">reactAdmin</a>
<a class="ivu-btn ivu-btn-primary" href="https://www.processon.com/" target="_blank">processOn</a>
<a class="ivu-btn ivu-btn-primary" href="https://www.draw.io/" target="_blank">draw.io</a>
<a class="ivu-btn ivu-btn-primary" href="http://www.demigods.top/" target="_blank">demigods</a>
<a class="ivu-btn ivu-btn-primary" href="https://medium.com/" target="_blank">medium</a> <div style="height:10px"></div>
<img width='100%' src='http://images.cnblogs.com/cnblogs_com/pengchenggang/110921/o_ask.jpg' />
</div> <script>
$(document).ready(function(){ // $("#subtitle").html("<button type='button' class='ivu-btn ivu-btn-default'><span>Default</span></button>"); $("#content > p:eq(0)").before(document.getElementById('btnList')); }); </script>
页脚Html代码
<link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui-v2.5.4/css/layui.css" />
<script src="https://www.layuicdn.com/layui-v2.5.4/layui.js"></script>
<script type="text/javascript">
layui.use(['laydate', 'laypage', 'layer', 'table', 'carousel', 'upload', 'element'], function() {
var laydate = layui.laydate //日期
,laypage = layui.laypage //分页
,layer = layui.layer //弹层
,table = layui.table //表格
,carousel = layui.carousel //轮播
,upload = layui.upload //上传
,element = layui.element; //元素操作 等等... /*layer弹出一个示例*/
layer.msg('waiting for VUE3.0');
});
</script>
<style>
body { margin-left: 20px;
margin-right: 20px;
margin-top: ;
margin-bottom: 10px;
padding: 30px;
padding-bottom: 10px;
padding-top: ;
}
#cnblogs_post_body .toc {
position: fixed;
right: 100px;
top: 150px;
} .ivu-btn {
display: inline-block;
margin-bottom: 5px;
font-weight: ;
text-align: center;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
background-image: none;
border: 1px solid transparent;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: 5px 15px 6px;
font-size: 12px;
border-radius: 4px;
transition: color .2s linear,background-color .2s linear,border .2s linear,box-shadow .2s linear !important;
color: #515a6e;
background-color: #fff;
border-color: #dcdee2;
}
.ivu-btn-primary {
color: #2d8cf0;
background: ;
text-decoration: none;
outline: ;
cursor: pointer;
transition: color .2s ease; color: #fff;
background-color: #2d8cf0;
border-color: #2d8cf0;
}
.ivu-btn-primary.active, .ivu-btn-primary:active {
color: #f2f2f2;
background-color: #2b85e4;
border-color: #2b85e4;
}
.ivu-btn-primary:hover {
text-decoration: none;
color: #fff;
background-color: #57a3f3;
border-color: #57a3f3;
}
</style>

代码备份 | 博客侧边栏公告(支持HTML代码)(支持JS代码)的更多相关文章

  1. 博客侧边栏公告html代码

    前一小段是时钟: 后一段是百度统计,但是显示不出来. 网站概况 - 百度统计 https://tongji.baidu.com/web/25880379/overview/index 趋势分析 - 百 ...

  2. 【wget】一条命令轻松备份博客(包括图片)

    h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h ...

  3. nginx博客系统(内含nginx图片缩略图处理代码,不错)

    一直以来都在Qzone.CSDN等上面写博客,偶尔有些想法就在Paas平台上搭建服务,新浪和曾经的google上都用过其appengine.可是在别人的平台上写东西,总归有些不方便,有受制于人的感觉. ...

  4. 使用CSS/JS代码修改博客模板plus

    之前对CSS/JavaScript了解还不深,只是把模板的CSS胡乱修改了几个属性.最近正好也在做一个网站的前端,学习了不少东西,再来改一改~ 上次最后之所以铩羽而归,是因为从CSS里找不到那些#和. ...

  5. 使用mathjax在博客中完美显示数学公式,支持PC,手机浏览器

    在博客园的设置选项里 有页头HTML的框内输入: <script type="text/javascript" src="http://cdn.mathjax.or ...

  6. Linux内核分析第二周学习博客——完成一个简单的时间片轮转多道程序内核代码

    Linux内核分析第二周学习博客 本周,通过实现一个简单的操作系统内核,我大致了解了操作系统运行的过程. 实验主要步骤如下: 代码分析: void my_process(void) { int i = ...

  7. 第三代微服务架构:基于 Go 的博客微服务实战案例,支持分布式事务

    这是一个可一键部署在 Kubernetes-Istio 集群中的,基于 Golang 的博客微服务 Demo,支持分布式事务. 项目地址:https://github.com/jxlwqq/blog- ...

  8. 欢迎来到L T X的博客 & 博客转型公告

    这里是L T X,一位来自重庆的学生的个人博客. 由于博主以前是OIer,目前博客里主要是OI相关的内容. 但是现在博主已经退役了,因此博客将会转向...嗯...那种...就是那种...比较奇怪的类型 ...

  9. 第一次写博客,关于前端开发deMVC在js中的应用

    对前端MVC MVC分别是model.view.controller的缩写,模型.视图.控制器.这些更加偏向于后台,在以前MVC是只属于后台的.当然随着技术的进步,前端的大牛们将后台的一些东西应用于前 ...

随机推荐

  1. 使用iframe的好处与坏处详细比拼

    一.使用iframe的坏处 1.搜索引擎的蜘蛛不会识别在iframe中被调用的图片.文本.url等内容的,因为该内容不属于该页面,只是访问的时候被临时的调用,而且在SEO建议中也有提到:"f ...

  2. ZOJ-1163-The Staircases

    dp[i][j]表示i个砖头构成的最高台阶不高于j的楼梯数目 Accepted 1163 C++11 0 2280 #include "bits/stdc++.h" using n ...

  3. Docker的部署安装(CentOS)-by paymob

    环境准备 通过命令查看系统版本和内核版本等信息 [gmuser@--- ~]$ cat /etc/redhat-release CentOS Linux release (Core) [gmuser@ ...

  4. Proxmox如何进入单人维护模式(重置root密码)

    官网连接:https://pve.proxmox.com/wiki/Root_Password_Reset Root Password Reset     Contents [hide] 1Reset ...

  5. <JZOJ5938>分离计划

    emm骚操作 #include<cstdio> #include<iostream> #include<cstring> #include<algorithm ...

  6. unittest(22)- p2p项目实战(8)-test_class_auto_incre

    # 8.test_class_auto_incre # 使用ddt import requests import unittest from p2p_project_7.tools.http_requ ...

  7. Redis 原理

    线程IO模型 Redis 是个单线程程序!(对外网络请求服务) 对于那些时间复杂度为 O(n) 级别的指令,一定要谨慎使用,一不小心就可能会导致 Redis 卡顿. 使用缓冲区,事件轮询 API(Li ...

  8. array, matrix, list and dataframe

    总结一下"入门3R"(Reading, 'Riting, 'Rrithmetic)中的读和写,不同的数据结构下的读写还是有点区别的. vector 命名 12 month.days ...

  9. [iOS 开发] WebViewJavascriptBridge 从原理到实战 · Shannon's Blog

    前言:iOS 开发中,h5 和原生实现通信有多种方式, JSBridge 就是最常用的一种,各 JSBridge 类库的实现原理大同小异,这篇文章主要是针对当前使用最为广泛的 WebViewJavas ...

  10. Runtime常见使用

    一些语法 更改对象的类/获取对象的类 1234 CustomClass *class1 = [[CustomClass alloc]init];Class aclass =object_setClas ...