A photo page does not need a lot of machinery. All this one asks for is a single line of pictures and a word or two about each. Everything else — the frame, the spacing, the small numbers — is here to get out of the way of the photographs.
The strip
Swipe or scroll the strip sideways for the rest →
How to use this template
Open index.html in Notepad and read from the top. Each picture is a figure with a small caption underneath, and they all sit together inside one flex row called .strip.
- In index.html, delete a photo-img div and drop in an <img> tag instead — there is a comment above the strip showing exactly how.
- Change the words inside each <figcaption> to describe your photos.
- In style.css, the six .photo-1 … .photo-6 rules are the placeholder colours; swap them for your own.
- Save both files and refresh the browser. That is the whole workflow.