Рефактор: пересобрал Navbar. В images добавил папку проектов, скорректировал mock

This commit is contained in:
ifraimka1 committed 2024-02-19 12:46:59 +03:00
1 parent 8d43bec068
commit fb6c40f280
10 files changed
+88 -30

No files matched your search

+23 -1
View File
@@ -26,8 +26,11 @@ $primary-text-color: white;
.bar {
display: flex;
align-items: center;
.nav-link {
position: relative;
a {
font-size: 16px;
font-weight: 500;
line-height: 20px;
@@ -36,6 +39,25 @@ $primary-text-color: white;
margin-left: 40px;
color: $primary-text-color;
text-decoration: none;
text-wrap: nowrap;
}
.nav-link::after {
position: absolute;
content: '';
left: 50%;
transform: translateX(-50%);
bottom: 0;
display: block;
width: 0;
height: 1px;
background: white;
transition: 0.3s;
}
.nav-link:hover:after,
.nav-link.active:after {
width: 100%;
}
}
}