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

  • Bootstrap 4:Responsive Web Design
  • Silvio Moreto Matt Lambert Benjamin Jakobus Jason Marah
  • 196字
  • 2021-07-09 18:54:40

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.

主站蜘蛛池模板: 新源县| 丰镇市| 思南县| 大英县| 古田县| 拜城县| 马尔康县| 台前县| 灵寿县| 基隆市| 伊金霍洛旗| 司法| 湖口县| 云浮市| 朝阳区| 祁连县| 罗江县| 同德县| 阿坝县| 定结县| 铁力市| 出国| 玉龙| 北海市| 文安县| 宁陵县| 兴安盟| 杭州市| 仁寿县| 博野县| 林口县| 安丘市| 蓬安县| 天门市| 汶上县| 准格尔旗| 获嘉县| 江油市| 江孜县| 崇左市| 绥化市|