diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/css/libCss/common.css b/css/libCss/common.css new file mode 100644 index 0000000..ac35ae9 --- /dev/null +++ b/css/libCss/common.css @@ -0,0 +1,26 @@ +body{ + position: relative; +} +body,html{ + width: 100%; + height: 100%; +} +header{ + height: 100px; + width: 100%; + background-color: #f00; +} +nav{ + position: absolute; + width: 100px; + height: 100%; + background-color: #000; + left: 0; + top:0; + padding-top: 100px; +} +section{ + width: 100%; + height: 100%; + padding-left: 100px; +} \ No newline at end of file diff --git a/123.html b/index.html index 566549b..b49d1a7 100644 --- a/123.html +++ b/index.html @@ -2,9 +2,12 @@ - Title + 首页 + - +
header
+ +
header
\ No newline at end of file