diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-13 08:39:01 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-13 08:39:01 +0800 |
| commit | f2757bcf6b8ae3eb1d6b52549f8112ba9090fee9 (patch) | |
| tree | 123a32e5d5ddd6d56b0c37b4d3d73f8a7e8fb294 /src | |
| parent | 1acb1eda4c47f9bc0f04a03aa3fbad17e5864432 (diff) | |
added reverse
Diffstat (limited to 'src')
| -rw-r--r-- | src/js/tilt.conf.js | 2 | ||||
| -rw-r--r-- | src/js/tilt.conf.noglare.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/js/tilt.conf.js b/src/js/tilt.conf.js index e98c8d70..8d95be2f 100644 --- a/src/js/tilt.conf.js +++ b/src/js/tilt.conf.js @@ -1,5 +1,5 @@ VanillaTilt.init(document.querySelectorAll(".tilt"),{ glare: true, - // reverse: true, + reverse: true, "max-glare": 0.1, }) diff --git a/src/js/tilt.conf.noglare.js b/src/js/tilt.conf.noglare.js index a548252d..0dafec5f 100644 --- a/src/js/tilt.conf.noglare.js +++ b/src/js/tilt.conf.noglare.js @@ -1,3 +1,4 @@ VanillaTilt.init(document.querySelectorAll(".tilt"),{ + reverse: true, glare: false, }) |
