Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Help| HTML button animation

Jan 13, 2021 Jan 13, 2021

I have a question about the HTML canvas.

 

I want build animation button, when i hover the button, the color from blue to the yellow in 10 frames,

but when i mouseout the button, the yellow button will back to blue in 1 frame,there are not have transition.

How can i make a smooth transition when i mouseout the button, the yellow will change to blue in 10 frames too?

 

I also upload the effect refrence to the attachment.

 

 

 

321
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 14, 2021 Jan 14, 2021
LATEST

use a movieclip button so you can precisely control the transitions with the timeline and code.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines