Update index.html
Browse files- index.html +2 -1
index.html
CHANGED
|
@@ -7,9 +7,10 @@
|
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
background-image: url('https://openai-75050.gzc.vod.tencent-cloud.com/openaiassets_b2edbcb71bed2e127d071803cc655cbf_2579861726125066950.jpg');
|
| 10 |
-
background-size:
|
| 11 |
background-repeat: no-repeat;
|
| 12 |
background-attachment: fixed;
|
|
|
|
| 13 |
}
|
| 14 |
</style>
|
| 15 |
</head>
|
|
|
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
background-image: url('https://openai-75050.gzc.vod.tencent-cloud.com/openaiassets_b2edbcb71bed2e127d071803cc655cbf_2579861726125066950.jpg');
|
| 10 |
+
background-size: contain; /* 改为 contain 以适应屏幕 */
|
| 11 |
background-repeat: no-repeat;
|
| 12 |
background-attachment: fixed;
|
| 13 |
+
background-position: center; /* 居中显示 */
|
| 14 |
}
|
| 15 |
</style>
|
| 16 |
</head>
|