压缩背景图

This commit is contained in:
结发受长生 2019-08-29 12:35:41 +08:00
parent b273d66640
commit bb08f3d7c3
5 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,7 @@ html, body, #container {
min-height:100%;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
background: $colorBodyBg url(http://photo.colorfulsweet.site/2019/08/29/4f8a91881d2a4.png) no-repeat;
background: $colorBodyBg url(./img/ctn_bg.png) no-repeat;
background-size: contain;
background-position: right;
overflow-scrolling: touch;

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -1,6 +1,7 @@
.left-col {
background: $colorBg url(./img/left_bg.jpg) no-repeat;
background-size: cover;
background: $colorBg url(./img/left_bg.png) no-repeat;
background-size: cover;
background-position: top;
width: 300px;
position:fixed;
opacity:1;