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

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">
主站蜘蛛池模板: 民乐县| 寿宁县| 奎屯市| 丹寨县| 常德市| 吉安市| 沁源县| 利津县| 肃北| 安顺市| 平原县| 涟源市| 宜兴市| 涿鹿县| 元阳县| 九台市| 滨海县| 鸡西市| 雅江县| 射洪县| 栾城县| 江山市| 双辽市| 宁强县| 搜索| 仙游县| 赫章县| 霍山县| 会东县| 沂南县| 岳池县| 双桥区| 千阳县| 小金县| 石泉县| 舞阳县| 常山县| 敦煌市| 涿州市| 白河县| 长沙市|