Created
February 4, 2016 17:12
-
-
Save andreban/2c567cfa0b183689f6d8 to your computer and use it in GitHub Desktop.
Adding a caption to amp-carousel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<amp-carousel width=400 height=500 type=slides controls> | |
<figure> | |
<amp-img src="img/sample.jpg" width=300 height=400> | |
</amp-img> | |
<caption>Testing 1</caption> | |
</figure> | |
<figure> | |
<amp-img src="img/sample.jpg" width=300 height=400> | |
</amp-img> | |
<caption>Testing 2</caption> | |
</figure> | |
<figure> | |
<amp-img src="img/sample.jpg" width=300 height=400> | |
</amp-img> | |
<caption>Testing 3</caption> | |
</figure> | |
</amp-carousel> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment