Elegant Scroll - 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>Elegant Scroll</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background: #ececec; font-family: 'Georgia', serif; } .elegant-scroll-box { width: 300px; height: 200px; overflow-y: auto; padding: 20px; background: #fdfdfd; border: 2px solid #ccc; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .elegant-scroll-box p { margin: 0; line-height: 1.6; } .elegant-scroll-box::-webkit-scrollbar { width: 12px; } .elegant-scroll-box::-webkit-scrollbar-track { background: #ddd; border-radius: 10px; } .elegant-scroll-box::-webkit-scrollbar-thumb { background: #999; border-radius: 10px; border: 3px solid #ddd; } .elegant-scroll-box::-webkit-scrollbar-thumb:hover { background: #666; } </style> </head> <body> <div class="elegant-scroll-box"> <p>Sample text for the Elegant Scroll design. Add more text to make the scrollbar visible and usable.</p> <p>Sample text for the Elegant Scroll design. Add more text to make the scrollbar visible and usable.</p> <p>Sample text for the Elegant Scroll design. Add more text to make the scrollbar visible and usable.</p> </div> </body> </html>