improved splash screen action
This commit is contained in:
BIN
static/splash-dev.jpeg
Normal file
BIN
static/splash-dev.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 160 KiB |
28
static/splash.html
Normal file
28
static/splash.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Friendolls</title>
|
||||
<script>
|
||||
document.addEventListener("contextmenu", function (e) {
|
||||
e.preventDefault();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body style="width: 100%; height: 100%">
|
||||
<div id="splash"></div>
|
||||
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
}
|
||||
#splash {
|
||||
background-image: url("/splash-dev.jpeg");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
width: 800px;
|
||||
height: 400px;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user