I have a flexbox with wrap enabled, and various flex basis and flex grow constaints.
By default, it looks like this:
[ A, B ]
but under a certain screen size, it wraps to this:
[ A,
B ]
Which is exactly what I want.
My question is: is it possible to set a background color on B only in the first instance, when it doesn't wrap? Basically, if it's part of a single row, I want it to have a background color with a tone complementing A, but if it wraps I want the background to be white.
Is this possible? Or do I need to resort to media queries?