Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!doctype html> <title>Example</title> <style> .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 20px; align-items: stretch; justify-items: stretch; } .grid img { border: 1px solid #ccc; box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3); max-width: 100%; } </style> <main class="grid"> <img src="/pix/samples/1m.jpg" alt="Sample photo"> <img src="/pix/samples/24m.jpg" alt="Sample photo"> <img src="/pix/samples/9m.jpg" alt="Sample photo"> <img src="/pix/samples/12m.jpg" alt="Sample photo"> <img src="/pix/samples/6m.jpg" alt="Sample photo"> <img src="/pix/samples/25m.jpg" alt="Sample photo"> </main>