const configSVG = {
transform: [],
mode: {
stack: true // Create a «stack» sprite
}
};
const configSVG = {
transform: [{svgo: {
js2svg: {pretty: true}, // Отключаем минификацию svg.
plugins: [
{cleanupListOfValues: {floatPrecision: 0}},
{inlineStyles: {onlyMatchedOnce: false}},
{removeAttrs: {attrs: ['stroke', 'data-name']}},
{removeAttributesBySelector: {selector: ':not([fill="none"])', attributes: ['fill']}}
]
}}],
mode: {
stack: true // Create a «stack» sprite
}
};
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(255,255,255,0.8)), to(rgba(255,255,255,0)));
background-image: -webkit-linear-gradient(rgb(255,255,255,0.8), rgba(255,255,255,0));
background-image: -o-linear-gradient(rgb(255,255,255,0.8), rgba(255,255,255,0));
background-image: linear-gradient(rgb(255,255,255,0.8), rgba(255,255,255,0));