Artistic Stroke 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>Artistic Stroke 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: #f3f3f3; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; } .blockquote-container { position: relative; width: 75%; background: #fff; padding: 2.5em; border-radius: 10px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); } .blockquote-container:before, .blockquote-container:after { content: ''; position: absolute; width: 150px; height: 150px; /* background: url('https://i.imgur.com/OcrX1pz.png') no-repeat; */ background-size: contain; } .blockquote-container:before { top: -50px; left: -50px; transform: rotate(45deg); } .blockquote-container:after { bottom: -50px; right: -50px; transform: rotate(-45deg); } 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; } </style> </head> <body> <div class="blockquote-container"> <blockquote> <p>In the end, we only regret the chances we didn't take.</p> <footer>— Lewis Carroll</footer> </blockquote> </div> </body> </html>