Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
  • Loading branch information
diachkinainna committed Dec 9, 2024
1 parent b551725 commit 1325965
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ body {
display: flex;
}

.nav__item {
margin-right: 20px;
}

.nav__link {
position: relative;
display: flex;
height: 60px;
align-items: center;
Expand All @@ -40,27 +35,24 @@ body {
font-weight: 500px;
font-size: 12px;
color: #000;
}

.nav__item:last-child {
margin-right: 0;
margin-left: 20px;
}

.is-active {
position: relative;
color: var(--active-link-color);
margin: 0;
}

:hover {
color: var(--active-link-color);
}

.is-active::after {
display: block;
content: '';
height: 4px;
position: absolute;
width: 100%;
left: 0;
bottom: 0;
background-color: var(--active-link-color);
border-radius: 8px;
Expand Down

0 comments on commit 1325965

Please sign in to comment.