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

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.

主站蜘蛛池模板: 邻水| 江安县| 凯里市| 嘉定区| 普兰店市| 恭城| 阿克| 荥经县| 新安县| 满洲里市| 林口县| 宜君县| 腾冲县| 濮阳市| 无锡市| 江城| 阳江市| 石门县| 文登市| 黄大仙区| 宜宾县| 陈巴尔虎旗| 兴和县| 靖西县| 广宗县| 武冈市| 池州市| 兰州市| 都安| 乌鲁木齐县| 彝良县| 竹北市| 河北省| 尉氏县| 汤阴县| 凤阳县| 合山市| 通山县| 江口县| 凉城县| 琼结县|