Elegant Fade Blockquote - VexaX
Run Code
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>Elegant Fade Blockquote</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"> <style> body { font-family: 'Arial', sans-serif; background-color: #eaeaea; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .blockquote-container { position: relative; width: 70%; background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); padding: 2.5em; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); animation: fadeIn 1s ease-in-out; } .blockquote-container:before { content: '\f10d'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 3em; position: absolute; top: 20px; left: 20px; color: #fff; opacity: 0.5; } blockquote { margin: 0; padding: 0; font-size: 1.5em; color: #333; } blockquote footer { margin-top: 1.5em; font-size: 0.9em; color: #555; text-align: right; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } </style> </head> <body> <div class="blockquote-container"> <blockquote> <p>The best way to predict the future is to create it.</p> <footer>— Peter Drucker</footer> </blockquote> </div> </body> </html>