diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-03 07:59:00 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-03 07:59:00 +0800 |
| commit | 9a4c2220d310a9bc7b7a01943bf925ed38265665 (patch) | |
| tree | 91f1d6023768325a2f121f5635893026a04b3836 /src/js | |
| parent | 1fa9398c10636b884800422c04b34b1362760aa1 (diff) | |
added more features & fixed border(radius)bug from vanilla tilt
Diffstat (limited to 'src/js')
| -rw-r--r-- | src/js/tilt.conf.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/js/tilt.conf.js b/src/js/tilt.conf.js new file mode 100644 index 00000000..d0ef14ad --- /dev/null +++ b/src/js/tilt.conf.js @@ -0,0 +1,5 @@ +VanillaTilt.init(document.querySelectorAll(".tilt"),{ + glare: true, + reverse: true, + "max-glare": 0.5, +}) |
