Answer the question
In order to leave comments, you need to log in
Why is the width of the icon larger than the actual size?
Hello everyone
I'm building on grids, collecting in gulp, scss
for images, no styles are set,
all icons are collected in a sprite via gulp-svg-sprite
gulp.task('svgSprite', function () {
return gulp.src([source_folder + '/iconsprite/*.svg'])
.pipe(svgSprite({
mode: {
stack: {
sprite: "../icons/icons.svg", //sprite file name
example: true
}
},
}
))
.pipe(dest(path.build.img))
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question