Skip to content

Commit

Permalink
Improve animation
Browse files Browse the repository at this point in the history
WilliamRagstad committed Aug 10, 2024
1 parent 2fefed0 commit 18b8ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/FeaturesDiagonal.jsx
Original file line number Diff line number Diff line change
@@ -26,10 +26,10 @@ export const FeaturesDiagonal = () => {
</svg>
</div>
<motion.div
initial={{ opacity: 0, x: 100 }}
initial={{ opacity: 0, x: 400 }}
whileInView={{ opacity: 1, x: 0 }}
viewport={{ once: true }}
transition={{ duration: 1.5, delay: 0.75 }}
transition={{ duration: 2, delay: 0.75 }}
className="w-full h-[12vw] min-h-12 relative -mt-[2vw]"
>
<img src={webx_stripe.src} alt="Web X stripe" className="absolute top-0 right-0 w-1/2 min-w-64 h-full" />

0 comments on commit 18b8ed0

Please sign in to comment.