Suppose we created several blocks, set their relative length and zaflot them to the left (link to the source code ):
.object{ width: 30%; height: 200px; float: left; margin: 0 9px 15px; } .red{background-color: #800000;} .yellow{background-color: #DAA520;} .green{background-color: #6B8E23;} .blue{background-color: #4169E0;} .teal{background-color: #008080;} .purple{background-color: #4B0082;} <div class="object red"></div> <div class="object yellow"></div> <div class="object green"></div> <div class="object blue"></div> <div class="object teal"></div> <div class="object purple"></div> What is the reason why despite setting the relative width, the right blocks from the stream are output at certain screen widths?
The problem also lies in the fact that this very “width of the fallout” for each browser is different. Specifically, in my task, block dropping is acceptable, but it must occur on the same window width for all browsers in order to be able to set up media queries.

bodypadding... try to reset them as well as the indents between the blocks, probably of a fixed width ...... Check what takes up the space that is missing and the loss occurs - pepel_xD