summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..59aa061
--- /dev/null
+++ b/index.html
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <link rel="stylesheet" href="/src/libo.css" />
+ </head>
+ <body>
+ <div class="libo">
+ <img
+ style="width:20%"
+ data-libo
+ src="test.jpg"
+ />
+ </div>
+ <script type="module">
+ import LightBox from './src/lightbox.js';
+ const lightbox = new LightBox({
+ container: '.libo'
+ });
+ </script>
+ </body>
+</html>