Pop Art 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>Pop Art Grid</title> <style> body { font-family: 'Arial', sans-serif; background-color: #fff8e1; 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: #ffd54f; 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, .grid-item:after { content: '🎨'; position: absolute; font-size: 2em; opacity: 0.5; animation: pop 4s ease infinite; } .grid-item:before { top: -10px; left: -10px; } .grid-item:after { bottom: -10px; right: -10px; } @keyframes pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } </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>