3d Button - MeggiTools
Run
Toggle Theme
Share Link
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>3D Button</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #e0e0e0; margin: 0; } .three-d-button { padding: 20px 40px; font-size: 18px; font-weight: bold; color: #fff; background: #3498db; border: none; border-radius: 10px; cursor: pointer; outline: none; box-shadow: 0 5px #2980b9; transition: all 0.2s ease; } .three-d-button:active { transform: translateY(4px); box-shadow: 0 1px #2980b9; } .three-d-button:hover { background: #2980b9; } .three-d-button span { position: relative; z-index: 1; } </style> </head> <body> <button type="button" class="three-d-button"> <span>3D Effect</span> </button> </body> </html>