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

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">
主站蜘蛛池模板: 永清县| 新巴尔虎右旗| 民丰县| 金溪县| 大足县| 肇庆市| 莱州市| 繁峙县| 奉贤区| 夏河县| 亳州市| 东丽区| 荔浦县| 蒙城县| 金塔县| 利川市| 杭锦后旗| 策勒县| 天全县| 军事| 鄂托克旗| 玉环县| 长岛县| 安溪县| 宝兴县| 天水市| 商丘市| 安多县| 浦北县| 平顺县| 高尔夫| 华安县| 明水县| 洪湖市| 株洲县| 桑植县| 成都市| 抚顺市| 宣恩县| 威远县| 沙洋县|