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

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.

主站蜘蛛池模板: 云霄县| 西昌市| 阜新| 东阳市| 醴陵市| 隆林| 广灵县| 峨边| 泾源县| 清水县| 陆河县| 闻喜县| 共和县| 谢通门县| 古蔺县| 德安县| 和静县| 长垣县| 蕲春县| 嘉定区| 勐海县| 中阳县| 阳朔县| 河间市| 台前县| 浦北县| 新竹县| 彰武县| 闽侯县| 石阡县| 偏关县| 托克托县| 政和县| 玛纳斯县| 宜兰县| 龙陵县| 敦煌市| 华宁县| 克什克腾旗| 清涧县| 祥云县|