diff --git a/misc/dist/html/full-size.html b/misc/dist/html/full-size.html
index 4bb311fe7b16..92b2b82ee7e2 100644
--- a/misc/dist/html/full-size.html
+++ b/misc/dist/html/full-size.html
@@ -52,6 +52,20 @@
margin: auto;
}
+#status-splash.show-image--false {
+ display: none;
+}
+
+#status-splash.fullsize--true {
+ height: 100%;
+ width: 100%;
+ object-fit: contain;
+}
+
+#status-splash.use-filter--false {
+ image-rendering: pixelated;
+}
+
#status-progress, #status-notice {
display: none;
}
@@ -88,7 +102,7 @@
-

+
diff --git a/platform/web/export/export_plugin.cpp b/platform/web/export/export_plugin.cpp
index 142a8deb86d7..7b836f633769 100644
--- a/platform/web/export/export_plugin.cpp
+++ b/platform/web/export/export_plugin.cpp
@@ -170,6 +170,12 @@ void EditorExportPlatformWeb::_fix_html(Vector &p_html, const Ref godot_splash_classes;
+ godot_splash_classes.push_back("show-image--" + String(GLOBAL_GET("application/boot_splash/show_image")));
+ godot_splash_classes.push_back("fullsize--" + String(GLOBAL_GET("application/boot_splash/fullsize")));
+ godot_splash_classes.push_back("use-filter--" + String(GLOBAL_GET("application/boot_splash/use_filter")));
+ replaces["$GODOT_SPLASH_CLASSES"] = String(" ").join(godot_splash_classes);
replaces["$GODOT_SPLASH"] = p_name + ".png";
if (p_preset->get("variant/thread_support")) {