-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (41 loc) · 1.16 KB
/
index.html
File metadata and controls
43 lines (41 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>pxLoadingScreen</title>
<style>
/* Must be inline in <head> to apply before FiveM injects loading elements */
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: #000;
}
/* Hide ALL FiveM-injected elements */
body > *:not(#app) {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
pointer-events: none !important;
position: absolute !important;
width: 0 !important;
height: 0 !important;
overflow: hidden !important;
}
#app {
position: relative;
z-index: 9999;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="config.js"></script>
<script src="build/app.js"></script>
</body>
</html>