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

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">
主站蜘蛛池模板: 余庆县| 顺平县| 松阳县| 崇信县| 柞水县| 中宁县| 宝鸡市| 青神县| 崇仁县| 乌拉特前旗| 苍南县| 深水埗区| 城口县| 盘锦市| 柳江县| 兖州市| 怀远县| 高尔夫| 蒲江县| 石棉县| 云林县| 土默特右旗| 泸西县| 黔西| 合肥市| 金湖县| 资中县| 福贡县| 巨鹿县| 永仁县| 南木林县| 香河县| 成安县| 华宁县| 惠州市| 阳山县| 大洼县| 乌鲁木齐县| 霍城县| 湘潭县| 铁岭市|