Skip to content

Instantly share code, notes, and snippets.

@sanjsanj
Last active June 1, 2018 18:37
Show Gist options
  • Save sanjsanj/c57697b9442d97fe296d92a8352fa3b6 to your computer and use it in GitHub Desktop.
Save sanjsanj/c57697b9442d97fe296d92a8352fa3b6 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<script async src="https://cdn.ampproject.org/v0.js"></script>
</head>
<body>
<h1>Just a basic built-in amp-img</h1>
<amp-img src="https://loremflickr.com/300/200/architecture"
alt="An image" layout="responsive" width="300" height="200"></amp-img>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment