Add rotating images to Shop module
This commit is contained in:
@@ -17,11 +17,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Image
|
||||
&__image {
|
||||
// Images
|
||||
&__images {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
picture {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
transform: scale3d(1.075, 1.075, 1.075);
|
||||
transition: opacity 0.8s, transform 1.6s var(--ease-quart);
|
||||
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
transform: scale3d(1,1,1);
|
||||
}
|
||||
}
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user