JSFiddle - React, Tailwind, and code Playground
by luka kupunia
CSS
body {
background: black;
}
JavaScript
<< << << < HEAD
===
=== =
window.addEventListener('DOMContentLoaded', function() {
>>>
>>> > 1 a2825960a78a3cdf8af774ed123266a9c02d042
var mobileDetect = !!navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i);
mobileDetect || function() {
var e, t, o, n, r = {
frameRate: 150,
animationTime: 400,
stepSize: 100,
pulseAlgorithm: !0,
pulseScale: 4,
pulseNormalize: 1,
accelerationDelta: 50,
accelerationMax: 3,
keyboardSupport: !0,
arrowScroll: 50,
fixedBackground: !0,
excluded: ""
},
a = r,
i = !1,
l = !1,
c = {
x: 0,
y: 0
},
s = !1,
u = document.documentElement,
d = [],
m = /^Mac/.test(navigator.platform),
f = {
left: 37,
up: 38,
right: 39,
down: 40,
spacebar: 32,
pageup: 33,
pagedown: 34,
end: 35,
home: 36
},
h = {
37: 1,
38: 1,
39: 1,
40: 1
};
function w() {
if (!s && document.body) {
s = !0;
var n = document.body,
r =...