css - First-child full-width in Flexbox - Stack Overflow
$ 27.50
In stock
4.7
(654)
![](https://i.stack.imgur.com/bjGWl.png)
How can I set the first-child of flexbox in full-width and all of the other childs set to flex:1(for split space)? Like this
![](https://i.stack.imgur.com/m8enX.jpg?s=64&g=1)
css - First-child full-width in Flexbox - Stack Overflow
![](https://lh3.googleusercontent.com/-dqLzhMywW5s/AAAAAAAAAAI/AAAAAAAAEDs/sqPTfIZR6zs/photo.jpg?sz=64)
css - First-child full-width in Flexbox - Stack Overflow
![](https://i.stack.imgur.com/bjGWl.png)
css - First-child full-width in Flexbox - Stack Overflow