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

Bootstrap and the mobile-first design

In the beginning of Bootstrap, there was no concept of mobile-first. It was first used for responsive design web pages. With the Version 3 of the framework, the concept of mobile-first became very solid in the community.

The whole code of the scaffolding system was rewritten to become mobile-first from the start. They decided to reformulate how to set the grid instead of just adding mobile styles. This made a great impact in compatibility between versions older than v3, but was crucial for making the framework even more popular.

As we saw in the first chapter, to ensure the proper rendering of the page, set the correct viewport at the <head> tag:

<meta name="viewport" content="width=device-width, initial-scale=1">
主站蜘蛛池模板: 会东县| 达日县| 林芝县| 资溪县| 建瓯市| 越西县| 喀喇| 望城县| 伊通| 濮阳县| 南漳县| 定西市| 颍上县| 崇左市| 莫力| 黄浦区| 泾川县| 巧家县| 吉林省| 龙山县| 荣成市| 茂名市| 越西县| 南丰县| 安福县| 太湖县| 朝阳市| 曲阳县| 海南省| 庆城县| 吉首市| 莲花县| 静宁县| 重庆市| 大冶市| 朝阳县| 南陵县| 呼和浩特市| 含山县| 青河县| 梅州市|