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

What do AMP pages look like?

AMP pages are often indistinguishable from non-AMP mobile pages. To get you excited before we dive in, let's take a look at some real-world examples to see the kinds of rich web experiences possible with AMP.

In the following images, note the Guardian's use of some common AMP components: the hamburger menu activates an animated sidebar menu, and the sidebar menu includes an expandable accordion sub-menu.

The Guardian's AMP pages include a dynamic hamburger menu with collapsible accordion sub-menu

In the next image, we see how ebay is using AMP for e-commerce: a horizontally scrolling carousel is used to promote products. Each item of the carousel contains image and text components.

In the final image, we see how Genius (genius.com) uses embedded videos within a carousel. (Incidentally, the aging rockers in this example sure knew how to turn their amps up to ride the lightning!)

Ebay and Genius.com AMP pages showing image and video carousels, and embedded videos

These examples were chosen to show that AMP isn't limited to static text and blog type pages, but that rich, interactive experiences can be built. AMP pages can include animated menus, accordions, carousels, image galleries, light boxes, embedded videos, and more. They support analytics and ad providers, and there is even an embeddable virtual reality component in development. In the following chapters, we'll see how to implement features like these and more.

主站蜘蛛池模板: 习水县| 富川| 商河县| 兰考县| 玉林市| 双桥区| 冷水江市| 罗甸县| 许昌县| 庆元县| 安平县| 贡嘎县| 文山县| 安溪县| 英吉沙县| 柳州市| 云安县| 孝义市| 蕉岭县| 沽源县| 清新县| 连山| 新兴县| 富民县| 贡觉县| 黄骅市| 郁南县| 独山县| 津南区| 喀喇沁旗| 正定县| 开化县| 灌阳县| 河源市| 忻城县| 新兴县| 上蔡县| 白玉县| 双桥区| 柘荣县| 金溪县|