From 1f76b7768411927e1d003815ef39a1b08732b54d Mon Sep 17 00:00:00 2001 From: wolegca <2738076308@qq.com> Date: Sun, 15 Sep 2019 15:02:30 +0800 Subject: [PATCH] update layout --- index.css | 20 ++++++++++++++++++++ index.html | 4 +--- myui.css | 50 +++++++++++++++++++++++++++++++++----------------- 3 files changed, 54 insertions(+), 20 deletions(-) diff --git a/index.css b/index.css index f22f6d0..2255c33 100644 --- a/index.css +++ b/index.css @@ -5,6 +5,26 @@ position: relative } +.container:before{ + content:''; + display: block; + position:fixed; + top:0px; + left:0px; + height:100%; + width:100%; + background: black url(bg.jpg) no-repeat center; + background-size: cover +} + +.clearfix:after{ + content:''; + display: block; + height:0px; + clear: both; + visibility: hidden +} + .sidebar-border{ position: absolute; left:0px; diff --git a/index.html b/index.html index 1d5cd52..e86df22 100644 --- a/index.html +++ b/index.html @@ -12,9 +12,7 @@ -
- - +
AHPU 老中医的博客