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

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.

主站蜘蛛池模板: 江安县| 喀喇| 建昌县| 瓮安县| 浦城县| 来宾市| 林周县| 云南省| 湘潭市| 辉县市| 西城区| 通渭县| 确山县| 大城县| 红原县| 六安市| 嘉兴市| 阳山县| 攀枝花市| 宜章县| 宿松县| 永平县| 文成县| 荆州市| 蓬安县| 九台市| 宜丰县| 西林县| 黄陵县| 房产| 上饶市| 洪泽县| 高要市| 漳浦县| 辽阳县| 巴彦淖尔市| 光泽县| 郸城县| 资溪县| 平湖市| 辽中县|