--- id: 587d78ae367417b2b2512afc title: Use the flex-grow Property to Expand Items challengeType: 0 videoUrl: '' localeTitle: Utilice la propiedad flex-grow para expandir elementos --- ## Description
Lo opuesto a flex-shrink es la propiedad de flex-grow . Recuerde que flex-shrink controla el tamaño de los elementos cuando el contenedor se reduce. La propiedad flex-grow controla el tamaño de los elementos cuando el contenedor principal se expande. Usando un ejemplo similar del último desafío, si un elemento tiene un valor de flex-grow de 1 y el otro tiene un valor de flex-grow de 3, el valor de 3 crecerá tres veces más que el otro.
## Instructions
Agregue la propiedad CSS flex-grow a #box-1 y #box-2 . Dé a #box-1 un valor de 1 y #box-2 un valor de 2.
## Tests
```yml tests: - text: 'El elemento #box-1 debe tener la propiedad flex-grow establecida en un 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: 'El elemento #box-2 debe tener la propiedad flex-grow establecida en un 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
```html
```
## Solution
```js // solution required ```