---
id: 587d78ae367417b2b2512afc
title: Use the flex-grow Property to Expand Items
challengeType: 0
videoUrl: ''
localeTitle: Use a propriedade flex-grow para expandir itens
---
## Description
O oposto de flex-shrink
é a propriedade flex-grow
. Lembre-se de que o flex-shrink
controla o tamanho dos itens quando o contêiner encolhe. A propriedade flex-grow
controla o tamanho dos itens quando o contêiner pai se expande. Usando um exemplo semelhante do último desafio, se um item tiver um valor de flex-grow
de 1 e o outro tiver um valor de flex-grow
de 3, aquele com o valor de 3 crescerá três vezes mais que o outro.
## Instructions
Adicione o flex-grow
propriedade CSS a #box-1
e #box-2
. Dê #box-1
um valor de 1 e #box-2
um valor de 2.
## Tests
```yml
tests:
- text: 'O elemento #box-1
deve ter a propriedade flex-grow
definida como um valor de 1.'
testString: 'assert($("#box-1").css("flex-grow") == "1", "The #box-1
element should have the flex-grow
property set to a value of 1.");'
- text: 'O elemento #box-2
deve ter a propriedade flex-grow
definida como um valor de 2.'
testString: 'assert($("#box-2").css("flex-grow") == "2", "The #box-2
element should have the flex-grow
property set to a value of 2.");'
```
## Challenge Seed
## Solution
```js
// solution required
```