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

Summary

In this chapter, we learned about layout and presentation in AMP. We improved our article page with the help of various AMP layout techniques, SVG graphics, image art-direction, and CSS styling. This added flair and improved the appeal of the page. While building this we learned about the AMP layout system, the layout attribute, the use of custom fonts, and some new custom components.

We also saw how to use responsive images, and how to build responsive canonical AMP pages. We saw how to implement the blurred placeholder image technique that are used by sites such as Medium and Facebook. And we saw how to use SVG in AMP pages, and how to implement text that will fit into any container.

The layout and style techniques we introduced are static with respect to user interaction: Users can consume the content, but they can't interact with it. We'll see in the next chapter how we can improve on this and engage the audience further by introducing interactive layout and components.

主站蜘蛛池模板: 渑池县| 怀宁县| 金昌市| 枞阳县| 阳曲县| 宜昌市| 锡林浩特市| 金乡县| 土默特左旗| 孟村| 嘉定区| 剑川县| 天门市| 固安县| 会同县| 修文县| 德惠市| 小金县| 朔州市| 临沭县| 临颍县| 安溪县| 白山市| 宁安市| 赤峰市| 临江市| 比如县| 武汉市| 成武县| 如东县| 巫溪县| 奉新县| 沛县| 博客| 通城县| 英吉沙县| 沐川县| 赣榆县| 临桂县| 公安县| 皋兰县|