You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/segments/categories/CategoriesGrid/CategoriesGrid.scss

41 lines
888 B
SCSS

.CategoriesGrid {
padding: 3rem 0;
h1{
margin-bottom: 2rem;
font-weight: 300;
}
.row{
column-gap: 7px;
}
// scss
.cat-grid-list{
.cat-grid-item{
border-radius: var(--xshop-border-radius);
overflow: hidden;
text-align: center;
box-shadow: var(--xshop-shadow);
h3{
font-size: 22px;
font-weight: 200;
background: var(--xshop-primary);
color: var(--xshop-diff);
margin-bottom: 0;
}
img{
height: 25vh;
object-fit: cover;
transition: 400ms;
width: 100%;
}
&:hover{
img{
transform: scale(1.7);
}
}
}
}
}