1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: avoid flash of unstyled content in the vweb_assets example

This commit is contained in:
Delyan Angelov 2022-03-21 19:13:53 +02:00
parent 3bae489e35
commit 178afd006b
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 7 additions and 0 deletions

View File

@ -17,3 +17,9 @@ img.logo {
float: left; float: left;
width: 10em; width: 10em;
} }
html {
display:block;
}

View File

@ -1,6 +1,7 @@
<html> <html>
<header> <header>
<title>@title</title> <title>@title</title>
<style>html{display:none}</style>
@css 'index.css' @css 'index.css'
</header> </header>
<body> <body>