Skip to content

Commit 4f67842

Browse files
committed
背景图片只选取不重复的部分,节省流量。200kb->35kb
1 parent 1bd4a0b commit 4f67842

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

client/assets/wallpaper-1.webp

36 KB
Loading

client/assets/wallpaper.png

-191 KB
Binary file not shown.

client/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ flex-direction: column;
500500
.main::before { content: "";
501501
position: absolute;
502502
inset: 0;
503-
background: url(../assets/wallpaper.png) left top / auto 100% no-repeat;
503+
background: url(../assets/wallpaper-1.webp) left top / auto 100% repeat-x;
504504
opacity: 0.15;
505505
mix-blend-mode: multiply;
506506
pointer-events: none;

0 commit comments

Comments
 (0)