I am working with flexbox to make the grid of a webpage and instead of adding breakpoints I think would be best to select the elements that are alone in a row. For example, using flex-wrap: wrap, select the elements that eventually become alone in a row.
Example of what I was expecting but doesn't exists:
.row {
display: flex;
align-items: center;
justify-items: flex-start;
flex-wrap: wrap;
}
.row > .column {
margin: 15px;
width: auto;
&:alone-in-row { // HERE
width: 100%;
text-align: center;
}
}