Skip to content

Commit 82fb6fb

Browse files
Try other slide
1 parent 66adb09 commit 82fb6fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/FeaturesDiagonal.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ export const FeaturesDiagonal = () => {
2727
</div>
2828
<div className="overflow-hidden w-full">
2929
<motion.div
30-
initial={{ opacity: 0, x: 400 }}
31-
whileInView={{ opacity: 1, x: 0 }}
30+
initial={{ opacity: 0, x: 0 }}
31+
whileInView={{ opacity: 1, x: -400 }}
3232
viewport={{ once: true }}
33-
transition={{ duration: 2, delay: 0.75 }}
33+
transition={{ duration: 1.8, delay: 0.65 }}
3434
className="w-full h-[12vw] min-h-12 relative -mt-[2vw]"
3535
>
36-
<img src={webx_stripe.src} alt="Web X stripe" className="absolute top-0 right-0 w-1/2 min-w-64 h-full" />
36+
<img src={webx_stripe.src} alt="Web X stripe" className="absolute top-0 right-[-401px] w-1/2 min-w-64 h-full" />
3737
{/* <img src={webx_stripe.src} alt="Web X stripe" className="w-1/2 h-full ml-auto" /> */}
3838
</motion.div>
3939
</div>

0 commit comments

Comments
 (0)