From 5f5153aade61997ef7ebac16e51c3cdfa565ae23 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 6 Oct 2023 22:48:33 +0800 Subject: no glare --- index.html | 2 +- src/js/tilt.conf.noglare.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/js/tilt.conf.noglare.js diff --git a/index.html b/index.html index e5cc4184..a647888f 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@ - + diff --git a/src/js/tilt.conf.noglare.js b/src/js/tilt.conf.noglare.js new file mode 100644 index 00000000..a548252d --- /dev/null +++ b/src/js/tilt.conf.noglare.js @@ -0,0 +1,3 @@ +VanillaTilt.init(document.querySelectorAll(".tilt"),{ + glare: false, +}) -- cgit v1.2.3