mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-08 16:06:13 +02:00
Merge pull request #202 from the-programmers-hangout/ui-improve-bad-animation-on-waves
ui: improve bad animation on waves
This commit is contained in:
@@ -66,7 +66,6 @@ export const FadedBottomWave = styled.div`
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
transition: opacity 0.5s, transform 0.5s;
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|
||||||
@@ -76,6 +75,7 @@ export const FadedBottomWave = styled.div`
|
|||||||
|
|
||||||
.is-home & {
|
.is-home & {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
transition: opacity 0.5s, transform 0.5s;
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user