You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>大屏展示</title>
</head>
<body>
<canvas style="position:absolute;z-index:-2;" id="starBg"></canvas>
<div style=" position:relative;" id="app"></div>
<div class="bj"></div>
</body>
</html>
<script type="module" src="/src/main.ts"></script>
<style>
html,
body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
/* 添加垂直和水平滚动条 */
overflow-x: hidden;
/* 仅添加水平滚动条 */
overflow-y: hidden;
/* 仅添加垂直滚动条 */
/* filter: brightness(0.8); */
}
.bj {
background-image: url(/src/assets/bj2x.png);
background-size: cover;
position: absolute;
width: 100%;
height: 100%;
backdrop-filter: blur(5px);
/* 模糊效果 */
filter: brightness(0.7);
z-index: -1;
}
#app {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
</style>