V
V
vasIvas2015-11-08 13:05:27
css
vasIvas, 2015-11-08 13:05:27

What are grids for?

Let's say I'm making a website with a minimum desktop width of 800px, which consists of two columns 200px and 600px. If not tied to any specific grid, then I create two 200x600 columns. And everything works fine until I get to a monitor that is forty pixels too wide. It turns out that if I center the content, then I will go beyond the grid. That is, the grid, as it was 200x600, will remain so, but the content frames in these grids will already be violated. Everything, the grid has broken and is no longer needed.
And now the question is - why then do we need grids? Unless there are sites in which all sizes are dynamic? I've never seen such sites that ava was 500x500 in size or some kind of button 2000x2000. Well, or if you limit the size of the element, then you get crazy spaces. And after all, it is no longer possible to overcome this, the grid, as it was 12 columns, will remain so.
And you won't be able to set up even the most advanced grid...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Latyshev, 2015-11-08
@magalex

How many sites are now built on an adaptive principle :
1. Different grids are used for different resolution ranges (that is, each grid is limited in size not only by the minimum width, but also by the maximum)
2. The absolute minimum and absolute maximum are determined by common sense :)
2. Within each range of resolutions - a rubber grid.
Following these simple principles, the design of the site is obtained without this:

ava was 500x500 or some button 2000x2000. Well, or if you limit the size of the element, then you get crazy spaces

A
Alexander Wolf, 2015-11-08
@mannaro

Well, usually grid columns are set to %, so yes, they are dynamic.

Y
Yaroslav IKARUS, 2015-11-18
@yar-ikarus

This is in order to create additional pain for the typesetter, because all these grids are poorly managed hemorrhoids, which, moreover, does not allow typesetting to be any flexible.
Personally, if I really need a grid, I just write them myself through a division of 100%.
Well, for example $size-1: 100% / 5, $size-2: 100% / 4 and so on

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question