Skip to content

Commit

Permalink
Added embedded demo to test verlok#568
Browse files Browse the repository at this point in the history
  • Loading branch information
verlok-cn committed Apr 30, 2022
1 parent c2ad828 commit 46d685d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions demos/embedded.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8" />
<title>Basic - Lazyload demos</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
iframe {
display: block;
margin: 1rem 0;
height: 50vh;
border: 1px solid red;
width: 100%;
flex-basis: 49%;
}
@media (min-width: 650px) {
main {
display: flex;
justify-content: space-between;
}
}
</style>
</head>

<body>
<h1>Embedded in iframes</h1>
<main>
<iframe src="image_basic.html" frameborder="0"></iframe>
<iframe src="image_basic.html" frameborder="0"></iframe>
</main>
</body>
</html>

0 comments on commit 46d685d

Please sign in to comment.