Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (42 loc) · 1.4 KB
/
Copy pathindex.html
File metadata and controls
50 lines (42 loc) · 1.4 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>basic-carousel</title>
<script src="../demos/lib/web-animations.min.js"></script>
<!-- TODO: Use npm distribution of v1 polyfills when available. -->
<script src="../demos/bower_components/shadydom/shadydom.min.js"></script>
<script src="../demos/bower_components/custom-elements/custom-elements.min.js"></script>
<script src="../demos/bower_components/custom-elements/src/native-shim.js"></script>
<script src="../demos/bower_components/custom-elements/src/htmlelement-instanceof.js"></script>
<script src="./dist/basic-carousel.js"></script>
<link rel="stylesheet" href="../demos/demos.css">
<style>
html {
height: 100%;
}
body {
background: black;
height: 100%;
margin: 0;
padding: 0;
display: -webkit-flex;
display: flex;
}
basic-carousel {
-webkit-flex: 1;
flex: 1;
}
</style>
</head>
<body>
<basic-carousel aria-label="Nature scenes">
<img src="../demos/resources/images/image1.jpg" alt="Lake">
<img src="../demos/resources/images/image2.jpg" alt="Horses">
<img src="../demos/resources/images/image6.jpg" alt="Wheat">
<img src="../demos/resources/images/image3.jpg" alt="Mountain">
<img src="../demos/resources/images/image7.jpg" alt="Palm tree">
</basic-carousel>
</body>
</html>