Programming Exercises

Design a button that "melts" into the background when clicked.

Hard

Problem Statement

Design a button that "melts" into the background when clicked.

Sample Output

Clicking the button makes it shrink and fade into the background.

Limits

Time: 2s · Memory: 256 MB

Code Editor
00:00
<!DOCTYPE html> <html> <head> <style> /* Add CSS here to create the melting effect */ </style> </head> <body> <button class="melt-button">Click Me</button> </body> </html>
Log in or sign up to run or submit your code.Log inSign up
Expected Output
Clicking the button makes it shrink and fade into the background.