Liu Song’s Projects


~/Projects/chrome-extension

git clone https://code.lsong.org/chrome-extension

Commit

Commit
b19d5660c8a3ef89805961ffff90251437c92ca4
Author
Lsong <[email protected]>
Date
2017-09-30 17:32:54 +0800 +0800
Diffstat
 page/newtab.html | 4 ++--

fix bg size


diff --git a/page/newtab.html b/page/newtab.html
index 6a213d6d1576619bc1e8b46f2512075853ce22ef..9f18e6cbbd821e47e09f0f098008b7d5bae6dd3f 100644
--- a/page/newtab.html
+++ b/page/newtab.html
@@ -8,8 +8,6 @@ body{
   text-align: center;
   background: rgba(0,0,0,.2);
 <!DOCTYPE html>
-  background-repeat: no-repeat;
-<!DOCTYPE html>
 <html>
 
 .container{
@@ -55,6 +53,8 @@   bottom: 0;
   z-index: -1;
   filter: blur(10px);
   position: absolute;
+  background-size: cover;
+  background-repeat: no-repeat;
 }
 
 </style>