--- id: 6153947986535e5117e60615 title: Step 15 challengeType: 0 dashedName: step-15 --- # --description-- The `align-items` property positions the flex content along the cross axis. In this case, with your `flex-direction` set to `row`, your cross axis would be vertical. To vertically center your images, give your `#gallery` selector an `align-items` property set to `center`. # --hints-- Your `#gallery` selector should have an `align-items` property set to `center`. ```js assert(new __helpers.CSSHelp(document).getStyle('#gallery')?.alignItems === 'center'); ``` # --seed-- ## --seed-contents-- ```html Photo Gallery

CSS FLEXBOX PHOTO GALLERY

``` ```css * { box-sizing: border-box; } body { margin: 0; font-family: Arial; background: #EBE7E7; } .header { text-align: center; padding: 32px; background: #E0DDDD; } --fcc-editable-region-- #gallery { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; } --fcc-editable-region-- #gallery img { width: 25%; height: 300px; } ```