From 9a4c2220d310a9bc7b7a01943bf925ed38265665 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 3 Oct 2023 07:59:00 +0800 Subject: added more features & fixed border(radius)bug from vanilla tilt --- src/js/tilt.conf.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/js/tilt.conf.js (limited to 'src/js') 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, +}) -- cgit v1.2.3