The coding blog.

Small bugs, worked examples, and a game to try what you learned.

Read tech industry news →

CSS · 2 min read

Why isn’t Flexbox centering my item?

Debug a flex item that stays at the top. See how flex-direction, container height, justify-content, and align-items change where an item lands.