Wave Effect 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>Wave Effect Grid</title> <style> body { font-family: 'Arial', sans-serif; background-color: #e0f7fa; 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: #80deea; 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; } .grid-item:hover { transform: translateY(-10px); } .grid-item:before { content: ''; position: absolute; top: 0; left: 50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, transparent 10.01%); background-size: 50% 50%; animation: wave 5s infinite linear; } @keyframes wave { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } } </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>