Isolate Homepage collage component and add hover effect on other photos
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
width: calc(100% + 2px);
|
||||
height: calc(100% + 2px);
|
||||
object-fit: cover;
|
||||
transition: opacity 0.7s var(--ease-quart);
|
||||
}
|
||||
|
||||
// Informations
|
||||
@@ -66,7 +67,7 @@
|
||||
& > * {
|
||||
opacity: 0;
|
||||
transform: translate3d(0, 8px, 0);
|
||||
transition: opacity 0.8s var(--ease-quart), transform 0.8s var(--ease-quart);
|
||||
transition: opacity 0.7s var(--ease-quart), transform 0.8s var(--ease-quart);
|
||||
|
||||
@include bp (md) {
|
||||
transform: translate3d(0, 8px, 0);
|
||||
|
||||
Reference in New Issue
Block a user