mirror of
https://github.com/vercel/commerce.git
synced 2025-03-31 01:05:53 +00:00
22 lines
353 B
CSS
22 lines
353 B
CSS
.root {
|
|
@apply grid grid-cols-12 w-full gap-6 px-3 py-6 border-b border-accents-2 transition duration-100 ease-in-out;
|
|
|
|
&:nth-child(3n + 1) {
|
|
& .productBg {
|
|
@apply bg-violet;
|
|
}
|
|
}
|
|
|
|
&:nth-child(3n + 2) {
|
|
& .productBg {
|
|
@apply bg-pink;
|
|
}
|
|
}
|
|
|
|
&:nth-child(3n + 3) {
|
|
& .productBg {
|
|
@apply bg-blue;
|
|
}
|
|
}
|
|
}
|