HTMLify
Buttons
Views: 532 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | <!DOCTYPE html> <html> <head> <style> body { font-family: 'Arial', sans-serif; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; background-color: #f4f4f4; } .button-container { text-align: center; } .button { display: inline-block; padding: 10px 20px; margin: 10px; font-size: 1em; text-align: center; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease, color 0.3s ease; cursor: pointer; } .primary-button { background-color: #3498db; color: #fff; border: 2px solid #3498db; } .secondary-button { background-color: #fff; color: #3498db; border: 2px solid #3498db; } .button:hover { background-color: #2980b9; color: #fff; } </style> </head> <body> <div class="button-container"> <a href="#" class="button primary-button">Primary Button</a> <a href="#" class="button secondary-button">Secondary Button</a> </div> </body> </html> |