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

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.

主站蜘蛛池模板: 廉江市| 万宁市| 中卫市| 通城县| 赤壁市| 旬邑县| 津市市| 东明县| 丰原市| 屯昌县| 江华| 盘山县| 长顺县| 铁力市| 阳东县| 武定县| 白山市| 奉化市| 忻城县| 茂名市| 东至县| 东台市| 玛曲县| 潢川县| 浙江省| 洪江市| 沧源| 宁远县| 礼泉县| 江永县| 天等县| 离岛区| 崇明县| 内江市| 宜阳县| 紫云| 凌海市| 射阳县| 武夷山市| 北海市| 定安县|