/
wallpaper.html
38 lines (37 loc) · 1.24 KB
/
wallpaper.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tauri + React + TS</title>
</head>
<body>
<div class="w-screen h-screen relative overflow-hidden">
<img class="block w-screen h-screen blur-sm image-bg" />
<div
class="absolute left-1/2 top-1/2 flex flex-col items-center justify-center px-4"
style="
width: 300px;
height: 400px;
margin-left: -120px;
margin-top: -200px;
background-color: rgba(255, 255, 255, 0.25);
backdrop-filter: blur(6px);
border: 0.8px solid rgba(255, 255, 255, 0.18);
box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
border-radius: 12px;
"
>
<img class="block w-48 h-48 rounded-full image" />
<div class="font-bold text-xl mt-2 music-name"></div>
<div class="text-base mt-2 artist"></div>
</div>
<canvas
style="width: 100vw; height: 30vh"
class="absolute bottom-0"
></canvas>
</div>
<script type="module" src="/src/wall/index.ts"></script>
</body>
</html>