diff --git a/assets/sass/landing.scss b/assets/sass/landing.scss
index 6304526..54d90dc 100644
--- a/assets/sass/landing.scss
+++ b/assets/sass/landing.scss
@@ -108,14 +108,13 @@
@keyframes compare-anim {
0% {
- clip-path: inset(100% 100% 100% 0%);
}
100% {
- clip-path: inset(100% 100% 100% 100%);
}
}
.compare-items-dynamic {
.compare-duet {
+ border-radius: 4px;
overflow: hidden;
position: relative;
@@ -126,12 +125,16 @@
overflow: hidden;
clip-path: inset(100% 100% 100% 0%);
}
+ .compare-hidden {
+ clip-path: inset(100% 100% 100% 0%);
+ transition: clip-path 2s cubic-bezier(.86,0,.07,1);
+ animation-fill-mode: forwards;
+ }
}
.compare-duet:hover {
.compare-hidden {
- animation: compare-anim 2s cubic-bezier(.86,0,.07,1);
- animation-fill-mode: forwards;
+ clip-path: inset(100% 100% 100% 100%);
}
}
}
diff --git a/layouts/landing-matthieu/list.html b/layouts/landing-matthieu/list.html
index 1a56637..02ec4b7 100644
--- a/layouts/landing-matthieu/list.html
+++ b/layouts/landing-matthieu/list.html
@@ -76,7 +76,7 @@
-