- Bootstrap 4:Responsive Web Design
- Silvio Moreto Matt Lambert Benjamin Jakobus Jason Marah
- 301字
- 2021-07-09 18:54:44
Summary
We have completed another chapter. Here, we discussed why we should always go mobile-first if we want to make a web page for every viewport, from mobile to large desktop. Making things bigger is always easier and causes less issues, so start small with mobile devices and evolve the web page until it reaches large desktop resolutions.
We saw how to debug different devices using our browser and set the right classes for each viewport. We now have our example of a landing page with full stack responsiveness, working well in any device.
We covered the grid options for various devices resolutions using the mobile-first methodology—starting with mobile and going further until the large desktop version.
The main lesson of this chapter was that we always should go mobile-first. We did not follow this approach at first and because of that, we faced some problems that we could have eliminated if we had started mobile-first.
It was not mentioned before, but going mobile-first helps the whole team. The designer will have a bigger picture of what he or she needs to reach and what information is important from the beginning. The backend developer can focus on the main features and optimize them for mobile before moving on to the rest of the page content delivery. Mobile-first is also part of the development strategy.
At this point, we have our landing page fully set at all resolutions. Using Bootstrap, we took a shortcut towards responsivity, doing all the groundwork with a few lines of code in HTML and some more in CSS.
In the next chapter, we will apply some customizable styles to make the page a little less like a Bootstrap page. We will also see how to create landing pages for different uses by customizing the components.
- Learn ECMAScript(Second Edition)
- 人人都懂設計模式:從生活中領悟設計模式(Python實現)
- RSpec Essentials
- Java程序員面試筆試寶典(第2版)
- Bootstrap for Rails
- Mastering Adobe Captivate 7
- 單片機原理及應用技術
- OpenCV Android Programming By Example
- 精通Spring:Java Web開發與Spring Boot高級功能
- Python應用與實戰
- 從零開始學算法:基于Python
- Java Web入門很輕松(微課超值版)
- Visual FoxPro數據庫程序設計
- 前端程序員面試筆試真題與解析
- Microsoft Azure Security