Skip to content

Commit

Permalink
updated viewport margin
Browse files Browse the repository at this point in the history
  • Loading branch information
gnehs committed Nov 10, 2023
1 parent dbbf0a7 commit d41e8bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/cfp/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function Theme() {
className="text-center text-2xl mb-16 leading-[2em]"
initial={{ opacity: 0, y: 100 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-200px" }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 1 }}
>
但無論計算機如何發展,
Expand All @@ -72,7 +72,7 @@ export default function Theme() {
<motion.span
initial={{ filter: "blur(10px)", scale: 2 }}
whileInView={{ filter: "blur(0px)", scale: 1 }}
viewport={{ once: true, margin: "-200px" }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 0.75 }}
className="text-gold font-bold"
>
Expand Down

0 comments on commit d41e8bc

Please sign in to comment.