- Bootstrap 4:Responsive Web Design
- Silvio Moreto Matt Lambert Benjamin Jakobus Jason Marah
- 116字
- 2021-07-09 18:54:43
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">
推薦閱讀
- JavaScript前端開發(fā)模塊化教程
- 程序設(shè)計(jì)與實(shí)踐(VB.NET)
- 網(wǎng)店設(shè)計(jì)看這本就夠了
- FFmpeg入門詳解:音視頻原理及應(yīng)用
- Unity Game Development Scripting
- Spring Boot企業(yè)級項(xiàng)目開發(fā)實(shí)戰(zhàn)
- Android開發(fā):從0到1 (清華開發(fā)者書庫)
- Python深度學(xué)習(xí):模型、方法與實(shí)現(xiàn)
- Couchbase Essentials
- Building Serverless Web Applications
- Scrapy網(wǎng)絡(luò)爬蟲實(shí)戰(zhàn)
- 從零開始學(xué)UI設(shè)計(jì)·基礎(chǔ)篇
- INSTANT Apache Maven Starter
- Learning PowerShell DSC(Second Edition)
- WCF 4.5 Multi-Layer Services Development with Entity Framework(Third Edition)