This is the perfect solution for wrapping, because you never have to use px, it’s the same on desktop, tablet and mobile and you can even change the element gap from 20 to 30px. Your backgrounds containers should be on boxed. Values used: 1120 for ultra wide & desktop, 80% for laptop, tablet extra, tablet, mobile extra, then mobile on 90%. Make sure to add the extra responsive breakpoints otherwise it’s not as my example.
13,5%
25%
35%
1
2
3
4
5
6
7
8
9
10
11
16.5%
25%
35%
1
2
3
4
5
6
7
8
9
20%
35%
100%
1
2
3
4
5
6
7
25%
35%
100%
1
2
3
4
5
35%
100%
100%
1
2
3
Flex grow different size containers
This is a working solution for 12 column designs (in the 1140/1120 grid) where the containers have different widths. Also on tablet and mobile I have put everything on 100%, but you can ofcourse change this according to your design.