修改背景颜色

This commit is contained in:
dragon
2024-09-30 15:50:36 +08:00
parent 642f9ae7c6
commit 60a487a1aa
2 changed files with 12 additions and 4 deletions

View File

@@ -1,7 +1,8 @@
html,
body {
width: 100%;
background: #4A1C7E;
height: 100%;
background: #8B37E4;
}
.back {
@@ -27,11 +28,14 @@ body {
}
.box {
width: 100%;
width: 10rem;
height: 14.50667rem;
background: url(../images/box.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
margin: 0 auto 0;
}

View File

@@ -5,8 +5,9 @@
html,
body {
width: 100%;
height: 100%;
// background: rgba(120, 33, 232, .8);
background: #4A1C7E;
background: #8B37E4;
}
.back {
@@ -32,11 +33,14 @@ body {
}
.box {
width: 100%;
width: px2rem(750);
height: 14.50667rem;
background: url(../images/box.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
margin: 0 auto 0;
.a {