Create props for ShopModule content

Allows to customize content if for a specific one for instance
This commit is contained in:
2022-07-30 10:27:58 +02:00
parent 6a7c4a0c75
commit 31351ae095
2 changed files with 44 additions and 19 deletions

View File

@@ -18,12 +18,19 @@
}
}
// Images
&__images {
position: relative;
overflow: hidden;
min-height: 256px;
a {
display: block;
width: 100%;
height: 100%;
}
:global(picture) {
position: absolute;
top: 0;
@@ -34,6 +41,9 @@
transform: scale3d(1.075, 1.075, 1.075);
transition: opacity 0.8s, transform 1.6s var(--ease-quart);
}
:global(img) {
object-position: center 32%;
}
:global(.is-visible) {
opacity: 1;