IT Band of Brothers HTML5 tutorial grid layout grid

5f16a58a57bc47108e1c532aebeafd05.jpg

 

Speaking grid layout, some readers may not know. But when it comes the grid, his mind there is always a corresponding number of the picture, such as:

image/20191227/8e7673366863198527e82968668b3ef2.png

FIG 1 FIG original raster

 

1 shows the former is a part of the land in order to protect people, specially from bamboo surrounds the piece of land. We call this weave bamboo fence erected a fence or it is called grid. With or without the grid to find out about the readers, I believe saw shown in Figure 5.1, the grid will have a concept of the word, it is to use bamboo, wood, iron bars and other objects in accordance with certain rules to block made before. We can weave different types of arbitrary rule can be made of diamond, square of the rules, X-type, round and so on.

However, in a Web page, we type in the number of grid-law, choose one of the most classic of a imitate, as shown in Fig.

image/20191227/2ac659d80c3246b4ad5d6abe98675dae.png

2 Classic raster

 

The reason why call it classic in the grid, because it only requires a simple horizontal line perpendicular to the intersection you can achieve that is beautiful and neat defensive effect.

Therefore, we can choose this simple horizontal line perpendicularly intersects a page can be achieved aesthetic effect, but also the grid layout can be easily adapted to the ratio of the width occupied div box in a web page, we generally use grid named. By this grid layout structure, you can help us organize content, easy to navigate site, reduce the client load. So now we can introduce two concepts: the line "row" and column "column".

Guess you like

Origin www.cnblogs.com/itxdl/p/12117893.html