/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/visual-tests/amp-carousel/amp-carousel.html
30 строк
2 KB
Caroline Liu
Apply lang="en" to examples/ (#34759)
10 июн 2021, 17:30
Не верифицирован
10 июн 2021, 17:30
2ee75c4
Код
Авторство
О чём код?
<!doctype html> <html ⚡ lang="en"> <head> <meta charset="utf-8"> <title>amp-carousel</title> <script async src="https://cdn.ampproject.org/v0.js"></script> <script custom-element="amp-carousel" src="https://cdn.ampproject.org/v0/amp-carousel-0.1.js" async></script> <link rel="canonical" href="https://preview.amp.dev/documentation/components/amp-carousel.example.3.html"> <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> </head> <body> <amp-carousel type="carousel" height="900" layout="fixed-height" role="region" aria-label="Basic carousel"> <amp-img src="/examples/visual-tests/picsum.photos/image1067_1600x900.jpg" height="900" width="1600"></amp-img> <amp-img src="/examples/visual-tests/picsum.photos/image1075_1600x900.jpg" height="900" width="1600"></amp-img> <amp-img src="/examples/visual-tests/picsum.photos/image857_1600x900.jpg" height="900" width="1600"></amp-img> </amp-carousel> </body> </html>