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

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.

主站蜘蛛池模板: 肇东市| 鸡西市| 西峡县| 临邑县| 宁河县| 武清区| 马鞍山市| 城市| 鄂伦春自治旗| 大厂| 滦南县| 三门县| 乳山市| 楚雄市| 宁海县| 祁阳县| 平阴县| 纳雍县| 黑龙江省| 米泉市| 探索| 乌什县| 楚雄市| 梅州市| 青岛市| 明光市| 淄博市| 苏尼特右旗| 恩施市| 建德市| 肃宁县| 阳曲县| 工布江达县| 油尖旺区| 赤城县| 鹤山市| 浮山县| 华坪县| 偃师市| 弥渡县| 牙克石市|