---
id: 587d78ac367417b2b2512af4
title: Use the flex-direction Property to Make a Column
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVaDAv/cZmWeA4'
forumTopicId: 301109
localeTitle: 使用 flex-direction 属性创建一列
---
## Description
之前两个挑战使用flex-direction属性创建行(row)。这个属性还能创建一个列,让子元素垂直排列在 flex 容器中。
## Instructions
给#box-container元素添加 CSS 属性flex-direction,赋值为 column。
## Tests
```yml
tests:
  - text: #box-container应有flex-direction属性,其值应为 column。
    testString: assert($('#box-container').css('flex-direction') == 'column');
```
## Challenge Seed
## Solution
```html
// solution required
```