Skip to content

Commit

Permalink
Merge pull request #118 from konstantin-it-lysenko/header2610
Browse files Browse the repository at this point in the history
nav fixed
  • Loading branch information
konstantin-it-lysenko authored Oct 26, 2023
2 parents 6759149 + 919403b commit e3fb6e1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions src/css/header.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
/* .exercises-btn,
.favor-exercises-startbtn {
background: none;
opacity: 0;
animation: textFadeIn 2s ease-in forwards;
}
.exercises-btn-svg {
transform: scale(1);
animation: pulse 1s infinite alternate;
}
.favor-exercises-startbtn svg {
rotate: 90deg;
transform: scale(1);
animation: pulse 1s infinite alternate;
}
@keyframes textFadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes pulse {
0% {
transform: scale(1);
}
100% {
transform: scale(1.3);
}
} */
/* ========================================MOBILE==================================== */
.header {
background-color: var(--primary-white-color);
Expand Down Expand Up @@ -176,6 +207,7 @@

.header-nav-item {
background-color: var(--primary-black-color);
border: 1px solid var(--primary-black-color);
border-radius: 30px;
padding: 6px 12px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/js/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ function handleIntersection(items, observer) {
});
}

/*!========================= animation ================= */

0 comments on commit e3fb6e1

Please sign in to comment.