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:
parent
3bae489e35
commit
178afd006b
@ -17,3 +17,9 @@ img.logo {
|
|||||||
float: left;
|
float: left;
|
||||||
width: 10em;
|
width: 10em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user