From 7c798701f2e0f480e8c7c2a1635b1cd3674d0ce2 Mon Sep 17 00:00:00 2001 From: Aaron.Liu <427787340@qq.com> Date: Thu, 19 Mar 2020 23:50:07 +0800 Subject: [PATCH] [修改] 优化导航栏底部边框 --- packages/navBar/index.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/navBar/index.css b/packages/navBar/index.css index 81fb139..62721d8 100644 --- a/packages/navBar/index.css +++ b/packages/navBar/index.css @@ -17,7 +17,20 @@ vertical-align: middle; } .zui-nav-bar--border-bottom { - border-bottom: 0.0625rem solid #E2E4EA; + position: relative; +} +.zui-nav-bar--border-bottom:after { + content: ''; + position: absolute; + left: 0; + top: 0; + background: #E2E4EA; + right: 0; + height: 1px; + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + -webkit-transform-origin: 0 0; + transform-origin: 0 0; } .zui-nav-bar--fixed { position: fixed; -- libgit2 0.21.0