From d6e5545d99eb3fd8f15234ac2474e4d783cd696d Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 22 Jun 2014 23:12:14 +0800 Subject: [PATCH] add class child --- iblog/css/main.css | 17 +++++++++++++++-- iblog/index.html | 7 ++++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/iblog/css/main.css b/iblog/css/main.css index ba28d06..17a9c48 100644 --- a/iblog/css/main.css +++ b/iblog/css/main.css @@ -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; diff --git a/iblog/index.html b/iblog/index.html index b6a5fce..64c8e33 100644 --- a/iblog/index.html +++ b/iblog/index.html @@ -101,16 +101,17 @@ -
+ -
+ -
+