forked from verlok/vanilla-lazyload
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added embedded demo to test verlok#568
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
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> |