Gradient Glow Grid - 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>Gradient Glow Grid</title> <style> body { font-family: 'Arial', sans-serif; background-color: #1e1e1e; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; height: 100vh; } .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; padding: 20px; width: 80%; } .grid-item { background: #333; border-radius: 10px; padding: 20px; text-align: center; font-size: 1.2em; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; color: #fff; } .grid-item:hover { transform: translateY(-10px); box-shadow: 0 0 20px rgba(255, 255, 255, 0.7); } .grid-item:before, .grid-item:after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: linear-gradient(45deg, rgba(255, 0, 255, 0.5), rgba(0, 255, 255, 0.5)); mix-blend-mode: screen; pointer-events: none; animation: glow 2s ease-in-out infinite; } @keyframes glow { 0%, 100% { opacity: 0.7; } 50% { opacity: 0.3; } } </style> </head> <body> <div class="container"> <div class="grid-item">Item 1</div> <div class="grid-item">Item 2</div> <div class="grid-item">Item 3</div> <div class="grid-item">Item 4</div> <div class="grid-item">Item 5</div> <div class="grid-item">Item 6</div> </div> </body> </html>