GithubHelp home page GithubHelp logo

对 image-set 的支持 about grunt-css-sprite HOT 5 CLOSED

17 avatar 17 commented on September 26, 2024
对 image-set 的支持

from grunt-css-sprite.

Comments (5)

laoshu133 avatar laoshu133 commented on September 26, 2024

image-set 不仅仅只有 webkit 支持时

from grunt-css-sprite.

17 avatar 17 commented on September 26, 2024

或许可以提供一个选项让使用者选择 retina 的支持方式, 你觉得怎么样?

from grunt-css-sprite.

laoshu133 avatar laoshu133 commented on September 26, 2024

�是出于什么目的,让你一定要使用 image-set,Media Queries目前不能满足需求吗

from grunt-css-sprite.

17 avatar 17 commented on September 26, 2024

目前接触国外项目比较多, 公司规定对 @2x 支援, 必须使用 image-set
现在并没有太好的自动化工具. 人手修改有些痛苦~ 囧rz


传统的媒体查询生成的代码比较冗余, 并我觉得 image-set 已经在可用的范畴内了.
在 Retina PC 设备 Safari / Chrome / Opera 浏览器占有率已超过 70%, Mobile 设备更不用说了.
至于可靠性 Google / Taobao 目前均都在应用, 存在的问题应该并不大.

from grunt-css-sprite.

laoshu133 avatar laoshu133 commented on September 26, 2024

现已支持 image-set,欢迎试用反馈
具体参数详见 README

from grunt-css-sprite.

Related Issues (20)

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.