I have a multiline flexbox container display: flex; flex-wrap: wrap
. How can I apply a style or css class to the first item on each line?
The only thing I can come up with is to use Javascript to iterate over the items and manually apply/remove classes. I'd really like a pure css solution though.
I don't know how many items will be in the flex box ahead of time, or what their widths will end up being.