Skip to content

Commit

Permalink
[#123] feat: link transition
Browse files Browse the repository at this point in the history
  • Loading branch information
rosieyeon committed Feb 17, 2022
1 parent 5e5adc9 commit 8e91dcd
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/statics/css/navbar.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/navbar.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/statics/css/navbarHome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/statics/css/navbarHome.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion src/statics/scss/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@
.navbar-menus {
display: flex;
margin-left: 15%;
.menu {
// transition: all 0.5s ease 0s;
a {
cursor: pointer;
text-decoration: none;
color: #e4e4e4;
margin-right: 46px;
transition: all 0.5s ease 0s;
}
a:hover {
color: var(--textColor-darker);
}
}
.navbar-profile {
Expand Down
10 changes: 10 additions & 0 deletions src/statics/scss/navbarHome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
text-decoration: none;
color: var(--textColor-darkest);
align-items: center;
transition: all 0.5s ease 0s;

svg {
// transition: all 0.5s ease 0s;
path {
stroke: var(--textColor-darkest);
}
Expand All @@ -48,5 +50,13 @@
padding-right: 3px;
}
}
.sub-navbar-menu:hover {
color: $mainColor;
& svg {
path {
stroke: $mainColor;
}
}
}
}
}

0 comments on commit 8e91dcd

Please sign in to comment.