You're creating a button hover effect where the button scales up gradually. Which combination of CSS properties would you primarily use?

  • transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
  • transition: scale(1.2) 0.3s ease-in-out;
    transform: scale(1.2);
  • scale(1.2);
    transition: transform 0.3s ease-in-out;
  • transform: scale(1.2);
    animation: scaleUp 0.3s ease-in-out;
To create a button hover effect where the button scales up gradually, you would primarily use the combination of CSS properties: transform: scale(1.2); for scaling the button and transition: transform 0.3s ease-in-out; to specify the transition duration, easing function, and the property to be transitioned (in this case, "transform"). This combination smoothly scales up the button on hover.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *