this is my html structure.
<div class='parent'>
<div class='title'> Some title </div>
<div class='element'> Element 1</div>
<div class='element'> Element 2</div>
<div class='element'> Element 3</div>
</div>
The CSS for the parent is
.parent {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
In the desktop view, the elements look like this:
Some Title Element1 Element2 Element 3
When the window is smaller, the elements wrap like this:
Some Title Element1 Element2
Element 3
Is there a way to put two elements per row when the wrap property starts to take effect? Like this:
Some Title Element1
Element2 Element 3