运行 ❯
获取您
自己
的网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> .btn { background-color: #f4511e; border: none; color: white; padding: 16px 32px; text-align: center; font-size: 16px; margin: 4px 2px; opacity: 1; transition: 0.3s; } .btn:hover {opacity: 0.6} </style> </head> <body> <h2>Fading Buttons - "Fade out Effect"</h2> <button class="btn">Hover Over Me</button> </body> </html>