aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/js/preLoader.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/preLoader.js')
-rw-r--r--assets/js/preLoader.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/preLoader.js b/assets/js/preLoader.js
index 35d649e..3f6e2e1 100644
--- a/assets/js/preLoader.js
+++ b/assets/js/preLoader.js
@@ -1,4 +1,5 @@
$(window).on("load", () => {
+ $("body").css("backgroundImage", "url('https://source.unsplash.com/collection/3349303/" + window.outerWidth + "x" + window.outerHeight + "')");
$("#udDots")
.fadeOut(300, () => {
$(".typewriter h1").fadeIn();