Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fis-spriter-csssprites在scale问题 #16

Open
changexbc opened this issue May 26, 2015 · 1 comment
Open

fis-spriter-csssprites在scale问题 #16

changexbc opened this issue May 26, 2015 · 1 comment

Comments

@changexbc
Copy link

使用 fis-spriter-cssspritesv0.3.0

fis.config.set('settings.spriter.csssprites',{
     scale: 0.5
});
.a1{
    background: url(icons/icon_01.gif?__sprite) no-repeat 0px 0px;
    width:32px;
    height:32px;
}.a2{
    background: url(icons/icon_02.gif?__sprite) no-repeat 0px 0px;
    width:32px;
    height:32px;
}.a3{
    background: url(icons/icon_03.gif?__sprite) repeat-y 0px 0px;
    width:320px;
    height:320px;
}.a4{
    background: url(icons/icon_04.png?__sprite) repeat-y 0px 0px;
    width:320px;
    height:320px;
}.a5{
    background: url(icons/icon_05.png?__sprite) repeat-x 0px 0px;
    width:320px;
    height:320px;
}.a6{
    background: url(icons/icon_06.png?__sprite) repeat-x 0px 0px;
    width:320px;
    height:320px;
}

image

按照文档说明,css中没有写background-size,不知道是什么问题
不使用scale手写background-size也是同问题

@changexbc changexbc changed the title fis-spriter-csssprites在repeat-y的问题 fis-spriter-csssprites在scale问题 May 26, 2015
@itachime
Copy link

itachime commented Nov 4, 2015

后来解决了么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants