- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 170字
- 2021-07-08 10:04:11
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.
- SPSS數(shù)據(jù)挖掘與案例分析應(yīng)用實(shí)踐
- Boost程序庫完全開發(fā)指南:深入C++”準(zhǔn)”標(biāo)準(zhǔn)庫(第5版)
- C語言程序設(shè)計(jì)案例教程(第2版)
- Interactive Data Visualization with Python
- Practical DevOps
- PLC編程及應(yīng)用實(shí)戰(zhàn)
- Building a Quadcopter with Arduino
- JavaScript動態(tài)網(wǎng)頁開發(fā)詳解
- Python數(shù)據(jù)結(jié)構(gòu)與算法(視頻教學(xué)版)
- 全棧自動化測試實(shí)戰(zhàn):基于TestNG、HttpClient、Selenium和Appium
- 微服務(wù)架構(gòu)深度解析:原理、實(shí)踐與進(jìn)階
- JavaScript應(yīng)用開發(fā)實(shí)踐指南
- Go語言底層原理剖析
- Python數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南(全彩)
- Docker:容器與容器云(第2版)