-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (59 loc) · 2.66 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--
Responsive embeds style css a la http://andmag.se/2011/11/responsive-embeds/
-->
<style type="text/css">
.embed-container {
position: relative;
padding-bottom: 56.25%; /* 16/9 ratio */
padding-top: 30px; /* IE6 workaround*/
height: 0;
overflow: hidden;
background-color: #eee;
}
.embed-container img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<!-- Add your site or application content here -->
<p>Hello responsive images that lazy load on scroll!</p>
<div class="img lazy embed-container">
<noscript data-alt="img" data-src-sm="images/20131213_capitol_sm.jpg" data-src-med="images/20131213_capitol_med.jpg" data-src-lrg="images/20131213_capitol_lg.jpg">
<img alt="img" src="images/20131213_capitol_med.jpg">
</noscript>
</div>
<p>Hello responsive images that lazy load on scroll!</p>
<div class="img lazy embed-container">
<noscript data-alt="img" data-src-sm="images/20131213_capitol_sm.jpg" data-src-med="images/20131213_capitol_med.jpg" data-src-lrg="images/20131213_capitol_lg.jpg">
<img alt="img" src="images/20131213_capitol_med.jpg">
</noscript>
</div>
<p>Hello responsive images that lazy load on scroll!</p>
<div class="img lazy embed-container">
<noscript data-alt="img" data-src-sm="images/20131213_capitol_sm.jpg" data-src-med="images/20131213_capitol_med.jpg" data-src-lrg="images/20131213_capitol_lg.jpg">
<img alt="img" src="images/20131213_capitol_med.jpg">
</noscript>
</div>
<p>Hello responsive images that lazy load on scroll!</p>
<div class="img lazy embed-container">
<noscript data-alt="img" data-src-sm="images/20131213_capitol_sm.jpg" data-src-med="images/20131213_capitol_med.jpg" data-src-lrg="images/20131213_capitol_lg.jpg">
<img alt="img" src="images/20131213_capitol_med.jpg">
</noscript>
</div>
<script type="text/javascript" src="js/lazyimages.js">
</script>
</body>
</html>