mirror of https://github.com/4xmen/xshop.git
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.
50 lines
1.0 KiB
SCSS
50 lines
1.0 KiB
SCSS
3 months ago
|
.SubCategoriesGrid {
|
||
|
padding-top: 1rem;
|
||
|
padding-bottom: 1rem;
|
||
|
.row{
|
||
|
[class^="col-md"]{
|
||
|
padding: 2px;
|
||
|
}
|
||
|
}
|
||
|
.sub-category{
|
||
|
height: 300px;
|
||
|
width: 100%;
|
||
|
position: relative;
|
||
|
overflow: hidden;
|
||
|
img{
|
||
|
position: absolute;
|
||
|
height: 300px;
|
||
|
width: 100%;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
object-fit: cover;
|
||
|
transition: 400ms;
|
||
|
}
|
||
|
h4{
|
||
|
z-index: 3;
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bottom: 0;
|
||
|
text-align: center;
|
||
|
background: #ffffff33;
|
||
|
backdrop-filter: blur(4px);
|
||
|
margin: 0;
|
||
|
padding: 1rem;
|
||
|
transition: 400ms;
|
||
|
}
|
||
|
|
||
|
&:hover{
|
||
|
h4{
|
||
|
background: #ffffff88;
|
||
|
}
|
||
|
|
||
|
img{
|
||
|
transform: scale(1.3) rotateZ(15deg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|