Skip to content

Commit 66751d8

Browse files
committed
✨ update test resource
1 parent 2a23a8c commit 66751d8

4 files changed

Lines changed: 31 additions & 12 deletions

File tree

index.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>blurify</title>
8+
<style>
9+
img {
10+
width: 100%;
11+
}
12+
</style>
13+
</head>
14+
<body>
15+
<div class="blurify-container">
16+
<img data-src="./test/1.jpg" class="blurify">
17+
<img data-src="./test/2.jpg" class="blurify">
18+
</div>
19+
20+
<script src="dist/blurify.js"></script>
21+
<script>
22+
(function () {
23+
new blurify({
24+
images: document.querySelectorAll('.blurify'),
25+
blur: 6,
26+
mode: 'auto',
27+
});
28+
})();
29+
</script>
30+
</body>
31+
</html>

test/1.jpg

60.5 KB
Loading

test/2.jpg

93.2 KB
Loading

test/index.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)