From a05884b68a163737a770ba354c865984b25321e1 Mon Sep 17 00:00:00 2001 From: Kostya Date: Sat, 18 Nov 2023 23:24:03 +0300 Subject: [PATCH] added underline in btn-now, header elem --- .../src/assets/css/ElementsStyles/header.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/luckydiamond/src/assets/css/ElementsStyles/header.css b/luckydiamond/src/assets/css/ElementsStyles/header.css index 127b636..b73834c 100644 --- a/luckydiamond/src/assets/css/ElementsStyles/header.css +++ b/luckydiamond/src/assets/css/ElementsStyles/header.css @@ -16,11 +16,25 @@ .header__nav nav a { margin-right: 75px; text-decoration: none; + font-family: Montserrat Alternates; + font-weight: 700; } .header__nav--now { color: #EF4444; text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); font-size: 18px; - font-weight: 700; + position: relative; +} + +.header__nav--now::before { + position: absolute; + content: ''; + width: 100%; + height: 2px; + background: #EF4444; + filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25)); + bottom: -7px; + left: 0; + z-index: 1; } \ No newline at end of file