diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/index.html | 32 | ||||
| -rw-r--r-- | test/test-2.jpg | bin | 0 -> 1184229 bytes | |||
| -rw-r--r-- | test/test-3.jpg | bin | 0 -> 9558418 bytes | |||
| -rw-r--r-- | test/test.jpg | bin | 0 -> 3236769 bytes |
4 files changed, 32 insertions, 0 deletions
diff --git a/test/index.html b/test/index.html new file mode 100644 index 0000000..e5812d2 --- /dev/null +++ b/test/index.html @@ -0,0 +1,32 @@ +<html> + <head> + <link rel="stylesheet" href="/src/libo.css" /> + </head> + <body> + <div class="libo" style="display: flex; justify-content: center; align-items: center;flex-wrap:wrap; + width:700px;margin:1rem auto"> + <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> + <img + style="max-width:100%" + data-libo + src="test.jpg" + /> + <img + style="width:50%" + data-libo + src="test-2.jpg" + /> + <img + style="width:30%" + data-libo + src="test-3.jpg" + /> + </div> + <script type="module"> + import LightBox from '/src/lightbox.js'; + const lightbox = new LightBox({ + container: '.libo' + }); + </script> + </body> +</html> diff --git a/test/test-2.jpg b/test/test-2.jpg Binary files differnew file mode 100644 index 0000000..6e681e6 --- /dev/null +++ b/test/test-2.jpg diff --git a/test/test-3.jpg b/test/test-3.jpg Binary files differnew file mode 100644 index 0000000..fb774d5 --- /dev/null +++ b/test/test-3.jpg diff --git a/test/test.jpg b/test/test.jpg Binary files differnew file mode 100644 index 0000000..99de989 --- /dev/null +++ b/test/test.jpg |
