gulp-sprite-generator icon indicating copy to clipboard operation
gulp-sprite-generator copied to clipboard

Plugin that generate sprites from your stylesheets.

Results 4 gulp-sprite-generator issues
Sort by recently updated
recently updated
newest added

Using the CSS property `background:` seems to break the sprite-generator entirely "from time to time". It might be my specific gulp setup and how i arrange the inclusion of files...

Hello, > Created 1 sprite(s) from 8 images, saved 12.5% requests Care to explain the logic behind the 12.5% requests being saved? How and where is that number coming from,...

source code 61: replacement: new RegExp('background-image:\s+url\(\s?(["\']?)\s?' + makeRegexp(url) + '\s?\1\s?\)[^;]*\;', 'gi'), it can be => replacement: new RegExp('background-image:\s?url\(\s?(["\']?)\s?' + makeRegexp(url) + '\s?\1\s?\)[^;]*\;', 'gi'), css .level-img.active.level1 {background-image:url(../img/grade_icon_numBjOn.png); } match /background-image:\s+url(\s?(["']?)\s?..\/img\/grade_icon_numBjOn.png\s?\1\s?)[^;]*\;/.test('background-image:url("../img/grade_icon_numBjOn.png ");')...

I have my css file in which i specify the background-size property but when using your plugin, it overwrites it. So is there a way i could prevent that?