--- id: css-image-gallery title: "CSS Image Gallery" category: "Frontend" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["image gallery", "photo gallery", "responsive gallery", "flexbox gallery", "CSS gallery"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.89 created_at: 2026-06-23 updated_at: 2026-06-23 review_reason: "" merge_history: [] tags: ["css", "web", "frontend", "w3schools", "gallery", "flexbox", "responsive"] raw_sources: ["https://www.w3schools.com/css/css_image_gallery.asp"] applied_in: [] github_commit: "" --- # [[CSS Image Gallery]] ## 🎯 ν•œ 쀄 톡찰 (One-line insight) A CSS image gallery arranges a collection of images in an organized, often responsive layout using `display: flex` with `flex-wrap: wrap`, then adapts the per-item width with `@media` queries for different screen sizes. [S1] ## 🧠 핡심 κ°œλ… (Core concepts) - **Image gallery** β€” a collection of images displayed in an organized, and often responsive, way on a web page. [S1] - **Container structure** β€” a wrapping element (typically `