吐血大奉献,打造cnblogs最新最火辣的css3模板(IE9以下请勿入内) -- 第一版
一直自己都想给自己的博客打造一个独一无二的皮肤,但是一直没有强劲的动力去完成这件事情。后来凭借着工作上面的需求(涉及到css3),就把自己的博客当成一个最好的试验场地。从而产生了你现在所看到的这个模板,强烈建议大家到我的博客首页转一圈。这个模板是自适应的,暂时没有做太多的自适应处理,但是也满足了基本的分辨率变化。(特别注明一下,首页是三栏结构的和文章内页的两栏结构是不一样的,因为我希望突出作者最新、最优秀的文章给读者第一时间关注)
好不好看这是一个见仁见智的问题了,不过为了制作这套模板确实花费了我许多功夫去找素材、去构思整个模板的风格。其中最困难的莫过于是受限于园子给的默认html结构。只能用各种布局方式来实现我想要的结果,现在想起来也许用其他模板作为基础更加合适。当然如果能够自己自定义html结构是最完美的方式了。
顺带在这里推荐一下我之前写的一篇关于布局方面的文章:对CSS中的Position、Float属性的一些深入探讨
这可是最开始的默认皮肤哟!
OK,闲话不多说。如何将这套皮肤设置成你的博客皮肤呢?
1)设置默认模板为Custom
在后台管理的“设置”处中选择默认模板为“Custom”
2)在“页首Html代码“中引入文件
<link type="text/css" rel="stylesheet" href="http://files.cnblogs.com/coffeedeveloper/coffee.css" />
<script src="http://files.cnblogs.com/coffeedeveloper/Modernizr.js"></script>
因为目前这套模板还没有完全达到我想要的效果,在未来的一段时间里,我还会对这套模板进行修改,如果你想第一时间享受到这套模板,那么请引用我上传的css文件。如果想自己在这套模板的基础上面再进行修改也是可以的,下面是css代码。
/*blobal*/
body { background: #fff url(http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_bg.png) repeat 0 0; font-family: 'Microsoft YaHei',Verdana,Arial,Helvetica,sans-serif; }
#home { min-width:; width: 100%; }
/*blobal end*/ /*
**header begin
*/
#header { border: none; margin:; padding:; } /*blog title*/
#blogTitle {
background: url(http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_labelbg.png) no-repeat right top;
height: 130px;
left:;
padding: 0 68px 0 24px;
position: absolute;
top: 120px;
z-index:;
color: #fff;
}
#blogTitle #lnkBlogLogo { display: none; }
#blogTitle h1 {
float: none;
font-size: 1.8em;
margin: 20px 0 0 0;
width: 100%;
}
#blogTitle h1 a {
color: #fff;
text-shadow: 1px 1px 1px #696969;
}
#blogTitle h1 a:hover { color: #f7781f; text-decoration: none; }
#blogTitle h2 {
float: none;
font-size: 1.5em;
margin: 7px 0 0 0;
width: 100%;
text-shadow: 1px 1px 1px #696969;
font-weight: bold;
}
/*blog title end*/ /*navigator*/
#navigator { background: rgba(0,0,0,0.6); border-bottom: 1px solid #000; height: auto; }
#navigator #navList { float: none; text-align: center; width: 100%; }
#navigator #navList li {display: inline-block; float: none; height: 80px; line-height: 80px; width: 10%; }
#navigator #navList a {border: none; color: #fff; display: inline-block; line-height: 132px; float: none; font-size: 12pt; font-weight: bold; height: 80px; padding:; width: 100%; }
#navigator #navList a:hover { border-bottom-style: solid; border-bottom-width: 8px; }
#navigator #navList a.aHeaderXML { display: none; } #navigator #navList li:nth-of-type(1) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_cnblogs4.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_cnblogs3.png") ;
background-repeat: no-repeat;
background-position: center 5px, center -80px;
} @keyframes nav1 {
from { background-color: #FD3F49; border-color: #FD3F49; background-position: center 5px, center -80px; }
to { background-color: #BC2F36; border-color: #A30008; background-position: center 80px, center 5px; }
}
@-webkit-keyframes nav1 {
from { background-color: #FD3F49; border-color: #FD3F49; background-position: center 5px, center -80px; }
to { background-color: #BC2F36; border-color: #A30008; background-position: center 80px, center 5px; }
}
#navigator #navList li:nth-of-type(1) a:hover {
-webkit-animation: nav1 1s ;
animation: nav1 1s ;
background-color: #BC2F36;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_cnblogs4.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_cnblogs3.png") ;
background-position: center 80px, center 5px;
border-color: #A30008;
} #navigator #navList li:nth-of-type(2) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_index1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_index2.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav2 {
from { background-color: #7F3E00; background-position: center 3px, center -80px; border-color: #FFA34C; }
to { background-color: #FFA34C; background-position: center 80px, center -5px; border-color: #FF7B00; }
}
@-webkit-keyframes nav2 {
from { background-color: #7F3E00; background-position: center 3px, center -80px; border-color: #FFA34C; }
to { background-color: #FFA34C; background-position: center 80px, center 3px; border-color: #FF7B00; }
}
#navigator #navList li:nth-of-type(2) a:hover {
-webkit-animation: nav2 1s ;
animation: nav2 1s ;
background-color: #FFA34C;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_index1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_index2.png");
background-position: center 80px, center 3px;
border-color: #FF7B00;
} #navigator #navList li:nth-of-type(3) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_question3.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_question4.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav3 {
from { background-color: #83F03C; background-position: center 3px, center -80px; border-color: #A0F06C; }
to { background-color: #5CA82A; background-position: center 80px, center 3px; border-color: #399200; }
}
@-webkit-keyframes nav3 {
from { background-color: #83F03C; background-position: center 3px, center -80px; border-color: #A0F06C; }
to { background-color: #5CA82A; background-position: center 80px, center 3px; border-color: #399200; }
}
#navigator #navList li:nth-of-type(3) a:hover {
-webkit-animation: nav3 1s;
animation: nav3 1s;
background-color: #5CA82A;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_question3.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_question4.png");
background-position: center 80px, center 3px;
border-color: #399200;
} #navigator #navList li:nth-of-type(4) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_twitter1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_twitter2.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav4 {
from { background-color: #34D0B6; background-position: center 3px, center -80px; border-color: #006957; }
to { background-color: #00A287; background-position: center 80px, center 3px; border-color: #1E796A; }
}
@-webkit-keyframes nav4 {
from { background-color: #34D0B6; background-position: center 3px, center -80px; border-color: #006957; }
to { background-color: #00A287; background-position: center 80px, center 3px; border-color: #1E796A; }
}
#navigator #navList li:nth-of-type(4) a:hover {
-webkit-animation: nav4 1s ;
animation: nav4 1s ;
background-color: #00A287;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_twitter1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_twitter2.png");
background-position: center 80px, center 3px;
border-color: #1E796A;
} #navigator #navList li:nth-of-type(5) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_document1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_document2.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav5 {
from { background-color: #64A8D1; background-position: center 3px, center -80px; border-color: #245A7A; }
to { background-color: #3D9AD1; background-position: center 80px, center 3px border-color: #03436A; }
}
@-webkit-keyframes nav5 {
from { background-color: #64A8D1; background-position: center 3px, center -80px; border-color: #245A7A; }
to { background-color: #3D9AD1; background-position: center 80px, center 3px; border-color: #03436A; }
}
#navigator #navList li:nth-of-type(5) a:hover {
-webkit-animation: nav5 1s ;
animation: nav5 1s ;
background-color: #3D9AD1;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_document1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_document2.png");
background-position: center 80px, center 3px;
border-color: #03436A;
} #navigator #navList li:nth-of-type(6) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_user1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_user2.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav6 {
from { background-color: #6D87D6; background-position: center 3px, center -80px; border-color: #133AAC; }
to { background-color: #476BD6; background-position: center 80px, center 3px; border-color: #2B4181; }
}
@-webkit-keyframes nav6 {
from { background-color: #6D87D6; background-position: center 3px, center -80px; border-color: #133AAC; }
to { background-color: #476BD6; background-position: center 80px, center 3px; border-color: #2B4181; }
}
#navigator #navList li:nth-of-type(6) a:hover {
-webkit-animation: nav6 1s ;
animation: nav6 1s ;
background-color: #476BD6;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_user1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_user2.png");
background-position: center 80px, center 3px;
border-color: #2B4181;
} #navigator #navList li:nth-of-type(7) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_rss1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_rss2.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav7 {
from { background-color: #956BD6; background-position: center 3px, center -80px; border-color: #4C2982; }
to { background-color: #7D44D6; background-position: center 80px, center 3px; border-color: #2F0571; }
}
@-webkit-keyframes nav7 {
from { background-color: #956BD6; background-position: center 3px, center -80px; border-color: #4C2982; }
to { background-color: #7D44D6; background-position: center 80px, center 3px; border-color: #2F0571; }
}
#navigator #navList li:nth-of-type(7) a:hover {
-webkit-animation: nav7 1s ;
animation: nav7 1s ;
background-color: #7D44D6;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_rss1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_rss2.png");
background-position: center 80px, center 3px;
border-color: #2F0571;
} #navigator #navList li:nth-of-type(8) a {
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_settings1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_settings2.png");
background-repeat: no-repeat;
background-position: center 3px, center -80px;
}
@keyframes nav8 {
from { background-color: #D636C9; background-position: center 3px, center -80px; border-color: #82217A; }
to { background-color: #AD009F; background-position: center 80px, center 3px; border-color: #710067; }
}
@-webkit-keyframes nav8 {
from { background-color: #D636C9; background-position: center 3px, center -80px; border-color: #82217A; }
to { background-color: #AD009F; background-position: center 80px, center 3px; border-color: #710067; }
}
#navigator #navList li:nth-of-type(8) a:hover {
-webkit-animation: nav8 1s;
animation: nav8 1s;
background-color: #AD009F;
background-repeat: no-repeat;
background-image: url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_settings1.png"), url("http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_settings2.png");
background-position: center 80px, center 3px;
border-color: #710067;
}
/*navigator end*/ /*blog stats*/
@keyframes blogStats {from { top:; } to { top: 86px; } }
@-moz-keyframes blogStats {from { top:; } to { top: 86px; } }
@-webkit-keyframes blogStats {from { top:; } to { top: 86px; } }
@-ms-keyframes blogStats {from { top:; } to { top: 86px; } }
@-o-keyframes blogStats {from { top:; } to { top: 86px; } }
.blogStats {
-webkit-animation: blogStats 3s;
-moz-animation: blogStats 3s;
-ms-animation: blogStats 3s;
-o-animation: blogStats 3s;
animation: blogStats 3s;
background: rgba(243, 243, 243, 0.8);
border: 1px solid #666;
border-radius: 5px;
color: #000;
font-size: 1.2em;
padding: 8px;
position: absolute;
right: 12px;
text-shadow: 1px 1px 1px rgb(180, 159, 159);
top: 86px;
z-index: -2;
}
/*blog stats end*/ /*
* header end
*/ /*=================================================================*/ /*
*content begin
*/ /*main begin*/
#main {
margin-top: 128px;
min-width: 680px;
position: relative;
z-index:;
}
#mainContent {
border: 1px solid #A0A0A0;
border-radius: 5px;
box-shadow: 0 0 8px #777;
float: none;
margin: 0 auto;
min-width: 680px;
overflow: visible;
padding: 8px;
width: 86%;
}
#mainContent .forFlow { background-color: #fff; margin:; padding-top: 52px; }
#mainContent .forFlow > div { margin-bottom: 60pt; padding: 0 0 0 12pt; width: 55%; } /*main end*/ /*post*/
.day { position: relative; }
.dayTitle {
background: #c0bbb9;
border: none;
border-radius: 60px;
color: #434343;
height: 60px;
left: -80px;
line-height: 28px;
padding: 10px;
position: absolute;
text-align: center;
width: 60px;
z-index: -1;
}
.day .postSeparator { border: none; }
.postTitle { border: none; float: none; line-height: 2.6em; }
.postTitle a:link, .postTitle a:visited { color: #428cb2; font-size: 200%; }
.postTitle a:hover { color: #f7781f; text-decoration: underline; }
#mainContent .forFlow > div.topicListFooter {font-size: 1em; margin:; padding: 18px; text-align: left; } .c_b_p_desc {
line-height: 1.8em;
font-size: 1.1em;
}
.topicListFooter a {
padding: 10px;
color: #fff;
font-weight: bold;
border-radius: 5px;
box-shadow: 1px 1px 3px #515253;
border-radius: 5px;
box-shadow: 1px 1px 5px #382B2B;
background-image: linear-gradient(to bottom,#5bc0de,#2f96b4);
background-image: -moz-linear-gradient(to bottom,#5bc0de,#2f96b4);
background-image: -webkit-linear-gradient(to bottom,#5bc0de,#2f96b4);
background-image: -ms-linear-gradient(to bottom,#5bc0de,#2f96b4);
}
.topicListFooter a:hover{
background-image: linear-gradient(to bottom,#2f96b4,#5bc0de);
background-image: -moz-linear-gradient(to bottom,#2f96b4,#5bc0de);
background-image: -webkit-linear-gradient(to bottom,#2f96b4,#5bc0de);
background-image: -ms-linear-gradient(to bottom,#2f96b4,#5bc0de);
}
/*post end*/ /*sidebar begin*/
#sideBar {
box-shadow: 0 0 8px #555;
margin:;
overflow: visible;
padding: 8px;
position: absolute;
right: 2%;
top: 36px;
width: 20%;
}
#sideBar #sideBarMain { background: #fff url(http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_bg2.png) repeat 0 0; padding: 4px; }
#leftcontentcontainer h3 {
border-bottom: 1px solid #d85c30;
color: #d85c30;
font-size: 1.5em;
line-height: 1.5em;
margin: 4px 0 10px 0;
text-align: left;
text-indent: 0.2em;
}
#leftcontentcontainer li {
height: 22px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.catListView,.catListFeedback,.catListComment {
background: #fff url(http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_bg2.png) repeat 0 0;
border: 8px solid #fff;
box-shadow: 0 0 8px #777;
left: -94%;
padding: 4px;
position: absolute;
top:;
width: 80%;
}
.catListView { height: 260px; }
.catListFeedback, .catListComment { border-top: none; box-shadow: 0 8px 8px #777; }
.catListFeedback { height: 260px; top: 275px; z-index:; }
.catListComment { top: 542px; z-index:; }
#calendar { width: 100%; }
.CalTitle { background: none; }
#calendar .CalNextPrev a:link, #calendar .CalNextPrev a:visited, #calendar .CalNextPrev a:active,#calendar .CalNextPrev a:link, #calendar .CalNextPrev a:visited, #calendar .CalNextPrev a:active { background: none; } #leftcontentcontainer li.recent_comment_body {
height: auto;
}
#sideBarMain .newsItem img {
border: 4px solid #fff;
max-height: 180px;
max-width: 180px;
position: absolute;
z-index: -1;
}
#sideBarMain .newsItem img:nth-of-type(1) {
-webkit-transform: rotate(10deg);
-o-transform: rotate(10deg);
-ms-transform: rotate(10deg);
-moz-transform: rotate(10deg);
transform: rotate(10deg);
right: 110px;
top: -120px;
}
#sideBarMain .newsItem img:nth-of-type(2) {
-webkit-transform: rotate(-20deg);
-o-transform: rotate(-20deg);
-ms-transform: rotate(-20deg);
-moz-transform: rotate(-20deg);
transform: rotate(-20deg);
right: 280px;
top: -120px;
} @keyframes headImg {from { top: -120px; } to { top: -190px; } }
@-webkit-keyframes headImg {from { top: -120px; } to { top: -190px; } }
@-moz-keyframes headImg {from { top: -120px; } to { top: -190px; } }
@-o-keyframes headImg {from { top: -120px; } to { top: -190px; } }
@-ms-keyframes headImg {from { top: -120px; } to { top: -190px; } }
#sideBarMain .newsItem img:hover {
-webkit-animation: headImg 3s;
-o-animation: headImg 3s;
-ms-animation: headImg 3s;
-moz-animation: headImg 3s;
animation: headImg 3s;
cursor: pointer;
top: -190px;
}
/*sidebar end*/ /*
content end
*/ /*==========================================================*/ /*
*footer begin
*/
#footer {background: rgba(0,0,0, 0.6); border: none; color: #fff; margin:; margin-top: 24px; min-height:; padding: 12px 0; }
/*
*footer end
*/ @media screen and (max-width: 1024px) {
.catListView, .catListFeedback, .catListComment {
border:;
box-shadow: none;
padding:;
position: static;
width: 100%;
} #mainContent .forFlow > div { width: 75%; }
} @media screen and (max-width: 680px) {
#sideBar {
box-shadow: none;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;;
box-sizing: border-box;
position: static;
width: 100%;
}
#sideBar #sideBarMain,.catListView, .catListFeedback, .catListComment { background: #fff; }
#navigator #navList li { height: 40px; line-height: 40px; width: 20%; }
#navigator #navList li a { height: 40px; line-height: 40px; background-image:none !important; }
#navigator #navList li a:hover { border: none; }
#main {
margin-top: 68px;
}
#mainContent {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;;
box-sizing: border-box;
}
#mainContent .forFlow > div {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
-ms-box-sizing: border-box;;
box-sizing: border-box;
padding: 0 12px;
width: 100%; }
.dayTitle {
background: none;
border-bottom: 1px solid #666;
border-radius:;
height: auto;
padding:;
position: static;
text-align: left;
width: auto;
}
#blogTitle {
background: none repeat scroll 0 0 transparent;
height: auto;
padding: 1em;
position: static;
}
.blogStats {
float: left;
position: static;
}
#sideBarMain .newsItem img {
display: none;
}
} /*
===================================
*/
/*
* Article begin
*/ #topics .postTitle {line-height: 2em;border:none; }
.postBody h2 {
color: #343434;
border: 1px solid #666;
background: rgba(68, 199, 250, 0.3);
border-radius: 5px;
text-shadow: 1px 1px 1px rgb(206, 206, 206);
box-shadow: 1px 1px 2px rgb(163, 163, 163);
line-height: 1.5em;
}
.postBody h3 {
border-bottom: 2px solid rgb(201, 163, 10);
font-size: 1.3em;
line-height: 2em;
}
.postBody h4 {
font-size: 1.4em;
text-shadow: 1px 1px 0 rgb(185, 185, 185);
line-height: 1.8em;
}
#mainContent .forFlow > div#comment_form{
margin:;
}
/*
* Article end
*/
3)在“页脚Html代码“中引入文件
<script type="text/javascript" src="http://files.cnblogs.com/coffeedeveloper/coffee.js"></script>
这个js主要是处理由于默认模板html结构实在是没有办法用css来调整样式所做的处理。在这里强烈吐槽一下Custom模板的一点:body下面的直接子元素div的id一直为home而不会根据页面类型来更换,这点我认为是非常糟糕的一点。为什么在文章详细页这个div的id不为article之类的,让我被迫去用javascript来判断是否是文章详细页。
我的最爱彩蛋系列!
如果有细心的朋友估计已经都发现了,呃,好吧也没有多少东东。
有趣加好玩的导航条
- 漂亮变化的导航条变化颜色(这里颜色我可是调了老半天了- -!)
- 可爱的导航图标(话说图标我也是找了好久的...)
- 如果你没开声音你就吃亏了,把你的鼠标依次滑过各个导航条里面的选项,有木有很有童趣?好吧,虽然我没有音乐天赋,但是各位看官你未必没有呀!
嚣张的个人宣传
虽然我不帅,但是不影响我对自己的热爱。哇卡卡!移上去有精彩!!
你也想要这个效果?
第一。首页你需要在自己的博客管理里面的相册上传两张你的个人帅气照(样式里面采用的是180 * 180像素)
第二。然后在你的“博客编辑栏公告”中放入你上传的图片链接
<img src="http://images.cnblogs.com/cnblogs_com/coffeedeveloper/497836/o_a.png" alt="" />
<img src="http://pic.cnitblog.com/avatar/163402/20130615101144.png" alt="" />
这样你就能即可享受到“自恋”的感觉啦- -!目前只做了两张图片的样式处理,如果你想要放置更多你的个人帅气照就自己添加哈!
#sideBarMain .newsItem img:nth-of-type(2) {
-webkit-transform: rotate(-20deg);
-o-transform: rotate(-20deg);
-ms-transform: rotate(-20deg);
-moz-transform: rotate(-20deg);
transform: rotate(-20deg);
right: 280px;
top: -120px;
}
结尾
当然因为个人喜好问题,这套模板将永远不会支持ie6/7/8。毕竟搞技术的同学还用这三个浏览器的话,相信我,我和你没有办法沟通。
还想做的事
为什么称这个版本为第一个版本呢?因为对文章评论那块的样式是还没有做任何处理的。在以后的版本会加上这一块。如果管理员能够看得到这段的话,请问我有什么办法能够获取用户的头像呢?因为评论那块如果没有头像会显的太过于单调。如果你问我什么时候会做,好吧,我也不清楚- -!不过肯定是会做的,到时候会再发一篇博文来介绍。
这套模板里面涉及到的css3知识点也挺想和大家分享的,不过我一直都认为写css的分享文章是最难的,从我这篇文章可以看出:对CSS中的Position、Float属性的一些深入探讨,如果大家感兴趣的话,还是推荐看看。因为我写了好久,结果木有人看,挺伤心的。后面会结合一些有趣的案例来为大家写一篇有关css3的博文,也请大家期待啦!
最后的最后
大家对这套模板有什么想法或者发现这套模板会在什么情况下会有错位现象,请联系我哈!在文章内评论或者发邮件给我coffeedeveloper#gmail.com!
如果你认为这篇文章对你有价值,或者这个模板有意思请办忙点一下推荐!谢谢!!
吐血大奉献,打造cnblogs最新最火辣的css3模板(IE9以下请勿入内) -- 第一版的更多相关文章
- 打造简易可扩展的jQuery/CSS3 Tab菜单
原文:打造简易可扩展的jQuery/CSS3 Tab菜单 今天我们利用jQuery和CSS3来打造一款简易而且扩展性强的Tab菜单,这款Tab菜单在切换时也有滑块的效果,先来看看效果图: 由与Tab菜 ...
- 分享9款最新超酷HTML5/CSS3应用插件
新的一周开始了,小编继续要为大家分享实用超酷的HTML5应用,今天分享的这9款最新HTML5/CSS3应用你一定会很喜欢,一起来看看. 1.HTML5 Canvas模拟衣服撕扯动画 超级逼真 今天又要 ...
- Scrapy爬虫:抓取大量斗图网站最新表情图片
一:目标 第一次使用Scrapy框架遇到很多坑,坚持去搜索,修改代码就可以解决问题.这次爬取的是一个斗图网站的最新表情图片www.doutula.com/photo/list,练习使用Scrapy ...
- CODING 携手 Thoughtworks 助力老百姓大药房打造”自治、自决、自动”的敏捷文化
老百姓大药房是中国具有影响力的药品零售连锁企业,中国药品零售企业综合竞争力百强冠军.中国服务业 500 强企业.湖南省百强企业. 自 2001 年创立以来,现已成功开发了湖南. 陕西.浙江.江苏等 * ...
- YouTube上最受欢迎的十大机器学习视频(最新)
2017-05-04 机器之心 选自KDnuggets 作者:Thuy T. Pham 机器之心编译 参与:微胖.黄小天 虽然 YouTube 有很多不错的机器学习视频,但是很难搞清楚是否值得一看,何 ...
- Leetcode】周赛203 查找大小为M的最新分组
题意: 给你一个数组 arr ,该数组表示一个从 1 到 n 的数字排列.有一个长度为 n 的二进制字符串,该字符串上的所有位最初都设置为 0 . 在从 1 到 n 的每个步骤 i 中(假设二进制字符 ...
- 最新 Windows 10 应用项目模板发布
以下是最新的Visual Studio 2015 Windows 10 应用程序模板. Windows 10中几乎所有的官方应用都遵循这样一个设计模板:在左上方有一个所谓的导航栏.点击该导航按钮,左侧 ...
- 微信最新跳转浏览器功能源码,实现微信内跳转手机浏览器访问网页url
微信最新自动跳转外部浏览器下载app/打开指定页面源码 源码说明: 适用安卓和苹果系统,支持任何网页链接.并且无论链接是否已经被微信拦截,均可实现微信内自动跳转浏览器打开. 生成的跳转链接具有极佳的防 ...
- hdu 2191 悼念512汶川大地震遇难同胞 【多重背包】(模板题)
题目链接:https://vjudge.net/problem/HDU-2191 悼念512汶川大地震遇难同胞——珍惜现在,感恩生活 ...
随机推荐
- Jquery的点击事件,三句代码完成全选事件
先来看一下Js和Jquery的点击事件 举两个简单的例子 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN&q ...
- 实时的.NET程序错误监控产品Exceptionless
Exceptionless可以对ASP.NET, Web API, WebForms, WPF, Console, 和 MVC 应用提供错误监控.上传.报表服务.使用时需要在Exceptionless ...
- TODO:Laravel 使用blade标签布局页面
TODO:Laravel 使用blade标签布局页面 本文主要介绍Laravel的标签使用,统一布局页面.主要用到到标签有@yield,@ stack,@extends,@section,@stop, ...
- nginx源码分析之网络初始化
nginx作为一个高性能的HTTP服务器,网络的处理是其核心,了解网络的初始化有助于加深对nginx网络处理的了解,本文主要通过nginx的源代码来分析其网络初始化. 从配置文件中读取初始化信息 与网 ...
- 从netty-example分析Netty组件续
上文我们从netty-example的Discard服务器端示例分析了netty的组件,今天我们从另一个简单的示例Echo客户端分析一下上个示例中没有出现的netty组件. 1. 服务端的连接处理,读 ...
- webstorm下载&&安装过程&&打开项目
一.webstorm下载 WebStorm 是jetbrains公司旗下一款JavaScript 开发工具.被广大中国JS开发者誉为"Web前端开发神器"."最强大的HT ...
- 一款开源免费的.NET文档操作组件DocX(.NET组件介绍之一)
在目前的软件项目中,都会较多的使用到对文档的操作,用于记录和统计相关业务信息.由于系统自身提供了对文档的相关操作,所以在一定程度上极大的简化了软件使用者的工作量. 在.NET项目中如果用户提出了相关文 ...
- nodejs利用ajax实现网页无刷新上传图片
nodejs利用ajax实现网页无刷新上传图片 标签(空格分隔): nodejs 通常情况下上传图片是要通过提交form表单来实现的,但是这又不可避免的产生了网页转. 利用ajax技术和FormDat ...
- css元素水平居中和垂直居中的方式
关于居中的问题,一直处于疑惑不解的状态,知道的几种方法好像也不是每一次都会起到作用,所以更加迷惑.主要是不清楚该 在什么情况下采用哪种解决方法,所以,整理了一些方法,梳理一下思路,做一个总结. 1. ...
- JAVA回调机制解析
一.回调机制概述 回调机制在JAVA代码中一直遇到,但之前不懂其原理,几乎都是绕着走.俗话说做不愿意做的事情叫做突破,故诞生了该文章,算是新年的新气象,新突破! 回调机制是什么?其实回 ...