Edit logo color on slider mounted event

This commit is contained in:
Paul Nicoué 2022-08-04 17:56:28 +02:00
parent 4e12cc1583
commit 6251dc8128
4 changed files with 119 additions and 90 deletions

View file

@ -105,12 +105,12 @@ body {
width: 100%;
height: 100%;
path:nth-child(1) {
&--black {
stroke: var(--black);
transition: stroke 400ms ease-in-out;
}
path:nth-child(2) {
&--white {
stroke: var(--white);
transition: stroke 400ms ease-in-out;
}
@ -118,17 +118,6 @@ body {
&--rotate-horizontal-bottom {
animation: rotate-horizontal-bottom 800ms ease-in-out infinite;
}
&--white {
path:nth-child(1) {
stroke: var(--white);
}
path:nth-child(2) {
stroke: var(--black);
}
}
}
}