设置“推荐与反对”,固定在窗口的底部
- 进入自己的博客园->设置,将以下css代码添加到“页面定制CSS代码”
/*推荐和反对*/
#div_digg{
position:fixed;
bottom:5px;
width:140px;
right:0px;
border:2px solid #6FA833;
padding:10px;
background-color:#fff;
border-radius:5px 5px 5px 5px !important;
box-shadow:0 0 0 1px #5F5A4B, 1px 1px 6px 1px rgba(10, 10, 0, 0.5);
}
- 其他样式的推荐与反对
/*推荐和反对*/
#div_digg {
padding: 10px;
position: fixed;
_position: absolute;
z-index: 1000;
bottom: 20px;
right: 0;
_right: 17px;
border: 1px solid #D9DBE1;
background-color: #FFFFFF;
filter: alpha(Opacity=80);
-moz-opacity: 0.8;
opacity: 0.8;
}
.icon_favorite {
background: transparent url('http://files.cnblogs.com/files/jackson0714/kj.gif') no-repeat 0 0;
padding-left: 16px;
}
#blog_post_info_block a {
text-decoration: none;
color: #5B9DCA;
padding: 3px;
}
标签:padding,right,background,右下角,blog,1px,5px,图标
From: https://www.cnblogs.com/tssc/p/17409689.html