From 22f340e62acfdb22b749f62c35356e4238d045c8 Mon Sep 17 00:00:00 2001 From: xchenhao Date: Fri, 4 Oct 2019 23:47:59 +0800 Subject: [PATCH] optimize footer --- frontend/views/layouts/article.php | 2 +- frontend/views/layouts/footer.php | 43 ++++++++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 3 deletions(-) diff --git a/frontend/views/layouts/article.php b/frontend/views/layouts/article.php index 2f54b1c..9af191b 100644 --- a/frontend/views/layouts/article.php +++ b/frontend/views/layouts/article.php @@ -19,7 +19,7 @@ beginBody() ?> -
+
endBody() ?> diff --git a/frontend/views/layouts/footer.php b/frontend/views/layouts/footer.php index 25c720d..1057308 100644 --- a/frontend/views/layouts/footer.php +++ b/frontend/views/layouts/footer.php @@ -13,11 +13,28 @@ use common\models\Links; width: 70%; } .about a { + white-space: nowrap; /*background: pink;*/ } + .blank-box { + margin-top: 200px; + } + footer { + position: fixed; + bottom: 0; + width: 100%; + z-index: 300; + /*transition: opacity 3s;*/ + } + .item-hide { + /*display: none;*/ + opacity: 0; + /*height: 0;*/ + } - +
+ + \ No newline at end of file -- GitLab