Skip to content

Instantly share code, notes, and snippets.

@rayriffy rayriffy/index.html Secret
Created Apr 4, 2019

Embed
What would you like to do?
<!DOCTYPE html>
<html amp lang="en">
<head>
<meta charset="utf-8">
<script async src="https://cdn.ampproject.org/v0.js"></script>
<script async custom-element="amp-instagram" src="https://cdn.ampproject.org/v0/amp-instagram-0.1.js"></script>
<title>AMPHTML</title>
<link rel="canonical" href="https://amp.rayriffy.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Heebo">
<style amp-custom>
html {
font-family: 'Heebo', sans-serif;
}
body {
background-color: #f5f5f5;
}
.container {
width: 40%;
margin: 0 auto 0 auto;
}
.instagram-container {
width: 70%;
margin: 0 auto 0 auto;
}
</style>
</head>
<body>
<div class="container">
<h2>This is your first AMP page</h2>
<br />
<!-- <amp-img src="https://storage.rayriffy.com/files/image/kaguya.png" alt="Kaguya" width="3360" height="2100" layout="responsive"></amp-img> -->
<div class="instagram-container">
<amp-instagram data-shortcode="Bt2mVrJAFNj"
data-captioned
width="1"
height="1"
layout="responsive">
</amp-instagram>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.