We can set flex-grow for all items inside a flex container. If we set all of them to 1, they grow equal in size and fill out the container.
flex-grow
1
Make sure to pick 1, followed by 1, and finally 1.