GithubHelp home page GithubHelp logo

gulp-px2rem-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gulp-px2rem-plugin's Issues

希望能增加一个字体不会转成rem的功能~,谢谢

由于用到了阿里的flexible适配布局,字体需要固定的,所以希望能增加一个这样的配置开关。
具体的选择器大概是这样子的

[data-dpr="1"] .f-size {
font-size: 14px;
}

[data-dpr="2"] .f-size {
font-size: 28px;
}

[data-dpr="3"] .f-size {
font-size: 42px;
}
最好能匹配
[data-dpr="1"]
[data-dpr="2"]
[data-dpr="3"] ,如果有这三个的话,那么该选择器里面的元素都不用转rem了

bug

当输入的源css为空时会报错 “cannot read property 'forEach” of null

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.