Nature Inspired Card - 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>Nature Inspired Card</title> <style> @import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&display=swap'); @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css'); body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #e0ffe0; font-family: 'Lora', serif; } .card { background: #fff; border-radius: 15px; border: 1px solid #a8d5a8; max-width: 350px; overflow: hidden; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); text-align: center; transition: transform 0.3s; } .card:hover { transform: scale(1.05); } .card-header { background: #a8d5a8; padding: 20px; color: #fff; font-size: 1.5em; } .card-body { padding: 20px; } .card-body p { margin: 10px 0; font-size: 1.2em; } .card-footer { padding: 15px; background: #f4f9f4; } .card-footer button { background: #4caf50; color: #fff; border: none; padding: 10px 20px; border-radius: 25px; cursor: pointer; transition: background 0.3s; } .card-footer button:hover { background: #388e3c; } </style> </head> <body> <div class="card"> <div class="card-header"> Nature Inspired Card </div> <div class="card-body"> <p>Tranquil and refreshing design inspired by nature.</p> <p>Perfect for eco-friendly and wellness projects.</p> </div> <div class="card-footer"> <button type="button">Learn More</button> </div> </div> </body> </html>