您的位置:首页 > Web前端 > CSS

修改博客园博客样式

2016-03-17 18:01 323 查看
第一步:先选择主题“BlackLowKey”,

第二步:开chrome浏览器的debug,调试页面达到效果。

第三步:选择body标签,如下图:



把原来的背景图改为自己想要的,例如我是先上传到自己的相册,然后获取地址来显示的

body {
background: url(http://images.cnblogs.com/cnblogs_com/philonic/801443/o_%E6%98%9F%E7%A9%BA.jpg) top center no-repeat #000 !important;
}

最后完成》》》》

我的代码修改量是最小的,稍微改了一下效果,附上我的CSS

#home {
margin: 0 auto;
width: 90% !important;
}

#mainContent {
width: 85% !important;
}
#navigator {
margin-top: 0px !important;
}
#sideBar {
margin-right: 0px !important;
padding-bottom: 50px !important;
background-color: #023C84 !important;
}
.newsItem .catListTitle {
background: #907B7B !important;
}
.catListTitle {
background: #907B7B !important;
}
body {
background: url(http://images.cnblogs.com/cnblogs_com/philonic/801443/o_%E6%98%9F%E7%A9%BA.jpg) top center no-repeat #000 !important;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: