Comments (5)
当 image-set
不仅仅只有 webkit 支持时
from grunt-css-sprite.
或许可以提供一个选项让使用者选择 retina 的支持方式, 你觉得怎么样?
from grunt-css-sprite.
�是出于什么目的,让你一定要使用 image-set
,Media Queries目前不能满足需求吗
from grunt-css-sprite.
目前接触国外项目比较多, 公司规定对 @2x 支援, 必须使用 image-set
现在并没有太好的自动化工具. 人手修改有些痛苦~ 囧rz
传统的媒体查询生成的代码比较冗余, 并我觉得 image-set
已经在可用的范畴内了.
在 Retina PC 设备 Safari / Chrome / Opera 浏览器占有率已超过 70%, Mobile 设备更不用说了.
至于可靠性 Google / Taobao 目前均都在应用, 存在的问题应该并不大.
from grunt-css-sprite.
现已支持 image-set
,欢迎试用反馈
具体参数详见 README
from grunt-css-sprite.
Related Issues (20)
- 請問如何配置才能正確用到background-size去做高清圖雪碧圖 HOT 1
- 时间戳可以考虑交给别的插件做,做精巧的雪碧图零件 HOT 1
- 我怎么安装不成功呢 HOT 1
- 安装老是报这个错误 HOT 1
- 当使用background-size的时候会有BUG HOT 1
- url用绝对路径的写法无法比配 HOT 1
- gulp版本 HOT 2
- Spritesmith 更新到 1.0 版本 HOT 1
- 优化合并 retinae 图像的逻辑 HOT 5
- 望支持图片文件名 HOT 8
- 如何避免不必要的背景图片? HOT 5
- 使用雪碧图自动化工具,是不是要求构建前的图片背景不得设置background-position? HOT 3
- 怎么不支持less HOT 2
- 可否支持指定单位
- 本地无法产出雪碧图 HOT 3
- 输不出图片,只输出CSS HOT 10
- 生成的雪碧图为32位 HOT 1
- 如果能支持 手机端 根据所使用的rem 自动缩放就完美了
- 输出的css里能否带每张图片的尺寸
- photoshop中选择交错方式保存的png图片,无法正常生成雪碧图
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-css-sprite.