O
O
OlegBas2020-09-03 21:30:55
css
OlegBas, 2020-09-03 21:30:55

Determining the size of the centering container?

There is a layout page https://chrisryana.github.io/toxin/colors-types , in which the width of the centering container is 1181px - 40px padding = 1141px, but in the layout on which the page is layout this container is ~ 1100px. Why is the width of the container in the browser different from the width of the container in the layout?
5f51364e17c42312753079.png
5f513655b42a1473275566.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan Voevodin, 2020-09-15
@melpnz

It looks like the developer did it. Because there rubber and the width of the container varies from 626 to 1141 depending on the width of the screen. (if it is less than 626, the blocks are overaged by each other) If the maximum value needs to be reduced, then it is necessary to set a breakpoint for the maximum width.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question