Modern Glow Blockquote - 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>Modern Glow 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: #202124; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .blockquote-container { position: relative; width: 60%; background: #333; padding: 2.5em; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); animation: glow 1.5s infinite; } .blockquote-container:before { content: '\f10d'; font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 4em; position: absolute; top: -20px; left: -20px; color: #ff6f61; opacity: 0.7; } blockquote { margin: 0; padding: 0; font-size: 1.4em; color: #fff; } blockquote footer { margin-top: 1.5em; font-size: 0.8em; color: #ccc; text-align: right; } @keyframes glow { 0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } 50% { box-shadow: 0 10px 30px rgba(255, 111, 97, 0.7); } } </style> </head> <body> <div class="blockquote-container"> <blockquote> <p>Life is 10% what happens to us and 90% how we react to it.</p> <footer>— Charles R. Swindoll</footer> </blockquote> </div> </body> </html>