官术网_书友最值得收藏!

Understanding the grid system

The basis of the Bootstrap framework relies in its grid system. Bootstrap offers components that allow us to structure a website in a responsive grid layout.

To exemplify this, imagine an electronic square sheet table that can be divided into many rows and columns, as shown in the following screenshot. In the table, you can create as many lines as you want while merging cells. But what would happen if you wanted to change the layout of a single row? That could be painful.

Understanding the grid system

The Bootstrap grid system works in a different way. By letting you define a set of rows, each one having a set of independent columns, it allows you to build a solid grid system for your web page. Also, each column can have different sizes to perfectly fit your template.

This not being enough, the Bootstrap grid system adapts for every viewport and resolution, which we call responsiveness.

To start learning about the grid system, we will introduce it using the example of a landing page. As you will see, Bootstrap will allow us to create a complete scaffolding that will automatically adjust the content for any viewport.

主站蜘蛛池模板: 江华| 英吉沙县| 徐州市| 旬邑县| 贺兰县| 南宫市| 南宫市| 天祝| 安康市| 密云县| 和平区| 洛宁县| 友谊县| 昭觉县| 彭州市| 商水县| 游戏| 元江| 富阳市| 宜君县| 梧州市| 密山市| 双流县| 开封县| 西盟| 昌宁县| 湘西| 林芝县| 南和县| 陈巴尔虎旗| 鲁甸县| 建宁县| 泰宁县| 巴南区| 商洛市| 黑水县| 苗栗县| 刚察县| 崇阳县| 京山县| 岑巩县|