Skip to content

Commit

Permalink
fadein working
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrodevog committed Oct 26, 2023
1 parent d2c0f75 commit 60dc590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
transform: translate(15vw, 0) rotate(-5deg);
}

.fadeElement.visible {
.fadeElement.visibleFade {
opacity: 1;
transform: translate(0, 0);
}
Expand Down
4 changes: 2 additions & 2 deletions module/CommonBundle/Resources/views/common/index/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,9 @@
for (var i = 0; i < tags.length; i++) {
var tag = tags[i];
if ($(tag).position().top < pageBottom && pageTop < $(tag).position().top) {
$(tag).addClass("visible");
$(tag).addClass("visibleFade");
} else {
$(tag).removeClass("visible");
$(tag).removeClass("visibleFade");
}
}
});
Expand Down

0 comments on commit 60dc590

Please sign in to comment.