Highly Styled 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>Highly Styled Blockquote</title> <style> body { font-family: 'Arial', sans-serif; background-color: #f4f4f9; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .blockquote-container { position: relative; background: linear-gradient(145deg, #e6e6ea, #ffffff); box-shadow: 5px 5px 10px #cbcbcf, -5px -5px 10px #ffffff; border-radius: 15px; padding: 20px 30px; max-width: 600px; text-align: center; overflow: hidden; } .blockquote-container:before, .blockquote-container:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://image.flaticon.com/icons/svg/2165/2165018.svg') no-repeat center; background-size: 80px 80px; opacity: 0.1; z-index: 0; } .blockquote-container:after { top: auto; bottom: 0; background: url('https://image.flaticon.com/icons/svg/2165/2165024.svg') no-repeat center; } blockquote { position: relative; z-index: 1; margin: 0; padding: 20px; font-size: 1.5rem; color: #333; line-height: 1.6; } blockquote::before, blockquote::after { content: '"'; font-size: 3rem; color: #ff6f61; position: absolute; font-family: 'Georgia', serif; opacity: 0.7; } blockquote::before { top: -20px; left: -10px; } blockquote::after { bottom: -20px; right: -10px; } cite { display: block; margin-top: 15px; font-size: 1.2rem; color: #ff6f61; font-weight: bold; } .blockquote-emoji { font-size: 2rem; display: inline-block; margin-top: 10px; animation: bounce 2s infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } </style> </head> <body> <div class="blockquote-container"> <blockquote> "The only limit to our realization of tomorrow is our doubts of today." <cite>– Franklin D. Roosevelt</cite> <div class="blockquote-emoji">💡</div> </blockquote> </div> </body> </html>