thecodezone.
The Code Zone
Short steps, at your pace · Free lessons and practice · Member video walkthroughs
Save your next small win.

Checking your account…

03.07 · CSS properties / Practice · Workshop · 10 steps

Build a Polaroid-style photo card

Start with the document shell and a linked stylesheet. Add the photo card one piece at a time, switching between HTML structure and CSS styling.

Activity 7 of 7 in CSS properties

All courses

CSS Basics / 03.07

Polaroid photo workshop

Not started

Build a simple Polaroid-style photo card from a blank document body. Alternate HTML and CSS in ten checked workshop steps.

More options
Rob places a workshop photo into a white Polaroid-style frame. Clearly show equal narrow top/side padding and LARGER bottom white band with caption. Completed photo card casts a soft shadow on pale blue background.
Rob’s comic strip · CSS properties

The finished project

A square photograph sits in a white paper frame with a larger bottom edge, a short caption and a subtle shadow. This small project combines HTML structure with the box model and a simple centering pattern.

An orange cat relaxing on its back
My study buddy
The finished project: a square photo, white paper frame, caption and subtle shadow.

Build the photo card, one step at a time

Begin with an empty body and a linked styles.css file. Create the container, style the page, add the photograph, build the frame and continue until your card matches the preview. Each step checks your work before you continue.

The workshop opens in a new tab. Your own code carries forward; each step has a focused check and an optional hint.

Start workshop(opens in a new tab)

10 steps · Saved work · Instant feedback

What you will practice

Use figure, img and figcaption to give the picture a structure and description. Use selectors to style each part without changing unrelated elements.

Connect width, padding and border-box sizing to the finished card. Fit and crop the photo, style the caption, add a shadow, then center the card and keep it within a narrow screen.

Your HTML and CSS carry forward together. The workshop is separate from the older single-challenge draft, so opening it does not overwrite that saved code.

Ready to try it?

Practice in your browser and see your results.

Progress details

Have a question?

Ask the Code Zone community.

Ask a question in The Code Zone (opens in a new tab)

Continue learning

ONE STEP FORWARD

You built the photo, caption, white frame and page layout from scratch. Explain how padding inside the frame differs from the margin outside it.