Skip to content

Commit

Permalink
Update styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
bfjy2024 authored Jul 17, 2024
1 parent c9697d4 commit 35d7649
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@

/* styles.css */

body{
width: 100%;
height: 1000px;
background: linear-gradient(to bottom right, #000, #2073c2 60%, #dff6ff);
overflow: hidden;
}
body {
font-family: Arial, sans-serif;
/* 使用背景图片 */
/*background-image: url('背景.png');
/* 设置背景颜色,以防图片未加载时显示 */
background-color: #f0f0f0;
/* 设置背景图片的其他属性 */
/*background-repeat: no-repeat; /* 不重复背景图片 */
background-size: cover; /* 背景图片覆盖整个容器 */
}
span{
display: block;
position: absolute;
Expand Down

0 comments on commit 35d7649

Please sign in to comment.