feat: add bg image
This commit is contained in:
parent
29c82d721d
commit
5c0acdc32e
BIN
img/bg.jpg
Normal file
BIN
img/bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
11
styles.css
11
styles.css
@ -1,6 +1,10 @@
|
||||
body {
|
||||
font-family: Microsoft YaHei;
|
||||
background-color: #f2f2f2;
|
||||
/* background-color: #f2f2f2; */
|
||||
background-image: url("img/bg.jpg");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@ -9,13 +13,16 @@ body {
|
||||
}
|
||||
|
||||
.container {
|
||||
z-index: 1;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
border-radius: 15px;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 300px;
|
||||
background-color: #ffffff;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user