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

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.

主站蜘蛛池模板: 新河县| 湟中县| 平昌县| 永仁县| 融水| 南澳县| 仁布县| 江孜县| 永胜县| 浮梁县| 兴仁县| 治县。| 富平县| 江油市| 新营市| 东光县| 东丽区| 将乐县| 化德县| 图片| 祥云县| 卢湾区| 沾益县| 阜新| 元氏县| 开远市| 达州市| 麻城市| 本溪| 沅江市| 通山县| 原平市| 荥阳市| 宁远县| 廊坊市| 始兴县| 罗城| 崇州市| 工布江达县| 宜兰市| 南宁市|