-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
55 lines (49 loc) · 1.86 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="demo/demo.css">
<title>Equalizer.js Demo</title>
</head>
<body>
<main id="example" class="demo container">
<h1 class="demo_title">Equalizer.js Demo</h1>
<div class="demo_row" data-equalizer-row="group1" data-equalizer-on="0,medium,xlarge">
<div class="demo_item" data-equalizer="group1">
<img src="https://picsum.photos/500?random" width="500" height="500" alt="demo image">
</div>
<div class="demo_item" data-equalizer="group1">
<img src="https://picsum.photos/500/900?random" width="500" height="900" alt="demo image">
</div>
<div class="demo_item" data-equalizer="group1">
<img src="https://picsum.photos/500/250?random" width="500" height="250" alt="demo image">
</div>
</div>
<div class="demo_row" data-equalizer-row="group2">
<div class="demo_item demo_item--green" data-equalizer="group2">
<img src="https://picsum.photos/150?random" width="150" height="150" alt="demo image">
</div>
<div class="demo_item demo_item--green" data-equalizer="group2">
<img src="https://picsum.photos/75?random" width="75" height="75" alt="demo image">
</div>
<div class="demo_item demo_item--green" data-equalizer="group2">
<img src="https://picsum.photos/250?random" width="250" height="250" alt="demo image">
</div>
</div>
</main>
<script src="equalizer.js"></script>
<script>
window.addEventListener('load', function() {
Equalizer.init({
breakpoints: {
small: 480,
medium: 768,
large: 1024,
xlarge: 1200
}
});
});
</script>
</body>
</html>