Massawa Photo Gallery
HTML / CSS
25 pts
Massawa Photo Gallery
Turn the photos into a responsive grid.
.gallery:display: grid,grid-template-columns: repeat(3, 1fr),gap: 12px..wide: spans two columns withgrid-column: span 2.- Add a media query
@media (max-width: 600px)in which.galleryhasgrid-template-columns: 1fr.
Checklist
- Make a three-column grid with gaps.
- Let the first photo span two columns.
- Switch to one column on small screens.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
