🎨 styles: home category item hover effect

:%s
This commit is contained in:
lytrankieio123 2021-08-27 11:14:53 +07:00
parent 2e008d404c
commit 813a474a5e

View File

@ -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);
}
}
}