---
id: 587d78ac367417b2b2512af4
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVaDAv/cZmWeA4'
forumTopicId: 301109
title: 使用 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
```