Created
June 17, 2020 14:49
-
-
Save lukas-h/aa5b6f7b4d9e3d239ca0c9f4d0351f6e to your computer and use it in GitHub Desktop.
AMP Iframe
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
<!DOCTYPE html> | |
<html amphtml> | |
<head> | |
... | |
<script async custom-element="amp-iframe" src="https://cdn.ampproject.org/v0/amp-iframe-0.1.js"></script> | |
</head> | |
<body> | |
... | |
<amp-iframe | |
layout="fixed-height" | |
height="500" | |
sandbox="allow-scripts" | |
src=""> | |
<div placeholder>Lade Inhalte ...</div> | |
</amp-iframe> | |
... | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment