React | Animation And Transitions | Question 7

Last Updated :
Discuss
Comments

What will happen when the whileTap property is applied in the following Framer Motion example?

JavaScript
<motion.div whileTap={{ scale: 0.9 }}>
    Tap me!
</motion.div>

The element will scale down to 90% when tapped.

The element will scale up to 110% when tapped.

The element will change color when tapped.

The element will hide when tapped.

Share your thoughts in the comments