Inline background styling to prevent flash of unstyled page
This commit is contained in:
parent
2359533df5
commit
fc24661a12
1 changed files with 14 additions and 0 deletions
14
index.html
14
index.html
|
|
@ -5,6 +5,20 @@
|
|||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>RapidModel</title>
|
||||
<style>
|
||||
/* Inline critical styles to prevent flash of unstyled content */
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #1a1a1a;
|
||||
color: #e0e0e0;
|
||||
}
|
||||
#app {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #1a1a1a;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue