added underline in btn-now, header elem

This commit is contained in:
Kostya
2023-11-18 23:24:03 +03:00
parent 53c4906cc5
commit a05884b68a

View File

@@ -16,11 +16,25 @@
.header__nav nav a { .header__nav nav a {
margin-right: 75px; margin-right: 75px;
text-decoration: none; text-decoration: none;
font-family: Montserrat Alternates;
font-weight: 700;
} }
.header__nav--now { .header__nav--now {
color: #EF4444; color: #EF4444;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
font-size: 18px; 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;
} }