From 977ce3d348f898d64ea240c8397b83d3e1cc5bb4 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 18 十二月 2019 09:23:05 +0800 Subject: [PATCH] 2019-12-18 --- src/components/header/index.scss | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/header/index.scss b/src/components/header/index.scss index b98fff2..84221f2 100644 --- a/src/components/header/index.scss +++ b/src/components/header/index.scss @@ -53,17 +53,24 @@ line-height: 48px; li { float: left; - // color: $header-font; - font-size: 1.7rem; - margin: 0 10px; + font-size: 1.8rem; cursor: pointer; + span { + padding: 0 10px; + height: 42px; + display: inline-block; + } &:hover { + height: 42px; color: #eeeeee; + border-bottom: 4px solid #fafcfb; } &.active { + height: 42px; color: #ffffff; - font-weight: bold; + // font-weight: bold; + border-bottom: 4px solid #06b4f7; } } } -- Gitblit v1.8.0