add retina logo

This commit is contained in:
menglingjun
2014-12-25 18:05:44 +08:00
parent c8d5190d5d
commit deb0510b9b
4 changed files with 7 additions and 1 deletions

View File

@@ -49,10 +49,16 @@ body, html {
top: 0; top: 0;
>.logo { >.logo {
loat: left;
width: 180px; width: 180px;
height: 50px; height: 50px;
background: url(./img/logo.png) no-repeat; background: url(./img/logo.png) no-repeat;
float: left; float: left;
background-color: #fff;
background-position: center;
background-image: url(./img/logo@1x.png);
background-image: -webkit-image-set(url(./img/logo@1x.png) 1x, url(./img/logo@2x.png) 2x);
background-repeat: no-repeat;
} }
>.action-groups { >.action-groups {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

BIN
css/img/logo@1x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
css/img/logo@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB