I have been struggling with this issue repeatedly, yet I still haven't found the most efficient solution for it. Imagine having 2 DIVs, A and B, both nested inside a container with columns assigned to each. What would be the optimal way to fill a background color for both DIVs while also occupying the remaining space on the left and right sides of the screen? Essentially, I want the left background color to cover the full width of DIV A plus the remaining unused space on the left (likewise for the right side).
For a clearer visual representation, you can view this image: example illustration
I am aware that using linear-gradient can achieve this effect, but it may pose challenges in different viewport sizes.
I hope my explanation is clear and not overly complicated, and I apologize if it seems trivial.