Skip to content

Commit 45eb1d1

Browse files
committed
add splash screen
1 parent 16c84d7 commit 45eb1d1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

src/apps/blazor/client/wwwroot/index.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,46 @@
1717

1818
<body>
1919
<div id="app">
20+
<style>
21+
@keyframes slide {
22+
0% {
23+
transform: translateX(-25%);
24+
}
25+
26+
100% {
27+
transform: translateX(25%);
28+
}
29+
}
30+
31+
.fsh-wasm {
32+
animation: slide 3s ease-in-out infinite alternate;
33+
bottom: 0;
34+
left: -50%;
35+
opacity: .5;
36+
position: fixed;
37+
right: -50%;
38+
top: 0;
39+
z-index: -1
40+
}
41+
42+
.fsh-wasm-cont {
43+
left: 50%;
44+
padding: 10vmin;
45+
position: fixed;
46+
text-align: center;
47+
top: 50%;
48+
transform: translate(-50%, -50%)
49+
}
50+
</style>
51+
52+
<div style="height:100%;width:100%;margin:0;position:fixed;">
53+
<div class="fsh-wasm"></div>
54+
<div class="fsh-wasm" style="animation-direction:alternate-reverse;animation-duration:2s;"></div>
55+
<div class="fsh-wasm" style="animation-duration:5s;"></div>
56+
<div class="fsh-wasm-cont ">
57+
<img src="/full-stack-hero-logo.png" Style="height:350px; width:350px; opacity:0.8" />
58+
</div>
59+
</div>
2060
</div>
2161

2262
<div id="blazor-error-ui">

0 commit comments

Comments
 (0)