修复在背景图呈现为满的情况下的背景偏移

Signed-off-by: 曉K <3399280843@qq.com>
This commit is contained in:
曉K 2023-11-01 14:51:11 +00:00 committed by Gitee
parent 4fb155af69
commit cf70eb0404
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -34,7 +34,7 @@ body {
z-index: 1; z-index: 1;
} }
.main-pic { .main-pic {
width: 1400px; width: 1500px;
height: 500px; height: 500px;
background-size: contain; background-size: contain;
background-repeat: no-repeat; background-repeat: no-repeat;