There is a flex-container with flex-elements inside, which are arranged in columns of equal width. is it possible to somehow make it so that the first flex-element is located in a row, that is, it occupies the entire width of the container, and the other flex-elements are also located in the columns, as before.
.flex-container { display: flex; } .flex-element { flex: 1; border: 1px solid #000; text-align: center; } <div class="flex-container"> <div class="flex-element">a</div><!-- данный блок должен растянуться на всю ширину контейнера --> <div class="flex-element">b</div> <div class="flex-element">c</div> <div class="flex-element">d</div> <div class="flex-element">e</div> </div>