add class child

This commit is contained in:
unknown
2014-06-22 23:12:14 +08:00
parent 5b4307219b
commit d6e5545d99
2 changed files with 19 additions and 5 deletions
+15 -2
View File
@@ -51,17 +51,30 @@ body{
width: 125px;
height: 20px;
line-height: 20px;
color: #D4D4D3;
text-align: center;
}
.footer div + div >div{
.footer_text:first-child{
width: 125px;
}
.footer_text:nth-child(2){
width: 125px;
}
.footer_text:last-child{
width: 140px;
}
.footer_info{
height: 80px;
height: 60px;
width: 100%;
}
.footer_start{
height: 60px;
width: 184px;
+4 -3
View File
@@ -101,16 +101,17 @@
<a class="start_item" href="https://github.com/vczero">
<img style="width:40px;height:40px;" src="imgs/github.jpg">
</a>
<div class="start_item">
<a class="start_item" href="http://weibo.com/2762275212/profile?rightmod=1&wvr=5&mod=personinfo">
<img style="width:40px;height:40px;" src="imgs/weibo.png">
</div>
</a>
<a class="start_item" href="http://vczero.github.io/index.html">
<img style="width:40px;height:40px;" src="imgs/me.png">
</a>
</div>
</div>
<div>
<div class="footer_links">
<div class="footer_text">wlhmyit@126.com</div>
<div class="footer_text">QQ:1163259171</div>
<div class="footer_text">create by vczero</div>
</div>
</footer>