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

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.

主站蜘蛛池模板: 甘谷县| 佳木斯市| 柳江县| 榆社县| 漯河市| 乐至县| 龙里县| 青海省| 清涧县| 永清县| 双城市| 寿光市| 柘荣县| 东辽县| 洮南市| 博野县| 九龙坡区| 麻城市| 孙吴县| 景谷| 西吉县| 自贡市| 修水县| 娄烦县| 耿马| 丹棱县| 五大连池市| 柳林县| 布拖县| 闽清县| 鲜城| 建昌县| 越西县| 土默特左旗| 肥乡县| 凤山县| 秦安县| 托克托县| 长葛市| 沙湾县| 朝阳县|