添加测试背景图并修复部分区域存在模糊的问题

This commit is contained in:
张梦南 2025-04-14 21:19:48 +08:00
parent a08557d728
commit b5a789eeb8
3 changed files with 12 additions and 3 deletions

BIN
blackboard/test.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 KiB

View File

@ -1,6 +1,17 @@
body {
margin: 0;
font-family: "Arial", sans-serif;
/* 背景图 */
background-image: url("../blackboard/test.jpg"); /* 图片地址 */
background-size: cover; /* 自动缩放并裁剪 */
background-position: center center; /* 居中裁剪 */
background-repeat: no-repeat; /* 不重复平铺 */
/* 铺满整个屏幕 */
width: 100vw;
height: 100vh;
overflow: hidden;
}
.main-layout {

View File

@ -3,9 +3,7 @@
bottom: 50px;
left: 0;
width: 100%;
background: rgba(255, 255, 255, 0.05); /* 几乎全透明 */
backdrop-filter: blur(4px); /* 模糊背景 */
-webkit-backdrop-filter: blur(4px);
background: rgba(255, 255, 255, 0); /* 几乎全透明 */
display: flex;
flex-direction: column;
align-items: center;