mirror of
https://github.com/vercel/commerce.git
synced 2025-07-08 05:41:22 +00:00
🎨 styles: home category item hover effect
:%s
This commit is contained in:
parent
2e008d404c
commit
813a474a5e
@ -2,6 +2,7 @@
|
||||
|
||||
.categoryItem {
|
||||
.categoryItemImage {
|
||||
@apply transition-all duration-200;
|
||||
width: 10.6rem;
|
||||
margin: 0 auto;
|
||||
max-height: 14rem;
|
||||
@ -14,11 +15,17 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
&:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
.categoryItemText {
|
||||
@apply sub-headline;
|
||||
text-align: center;
|
||||
font-feature-settings: "salt" on;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user