add different approach on hover animation

This commit is contained in:
Franco Arza
2020-10-21 19:51:46 -03:00
parent c28b7589d3
commit 8078c0b832
2 changed files with 22 additions and 2 deletions

View File

@@ -35,6 +35,26 @@
&:nth-child(6n + 6) .wishlistButton {
@apply bg-cyan text-white;
}
& .squareBg {
@apply bg-white;
}
&:nth-child(6n + 1) .squareBg {
@apply bg-white;
}
&:nth-child(6n + 5) .squareBg {
@apply bg-white;
}
&:nth-child(6n + 3) .squareBg {
@apply bg-white;
}
&:nth-child(6n + 6) .squareBg {
@apply bg-white;
}
}
&:nth-child(6n + 1) .squareBg {
@@ -58,7 +78,7 @@
.productTitle > span,
.productPrice,
.wishlistButton {
@apply transition ease-in-out duration-300;
@apply transition ease-in-out duration-500;
}
.squareBg {