<svg height="16" width="16" version="1.1">
<defs>
<linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="13" y1="20" x2="33" y2="20">
<stop offset="0" style="stop-color:#B42E27"/>
<stop offset="1" style="stop-color:#F11727"/>
</linearGradient>
<path id="petal" fill="url(#SVGID_4_)" stroke="#404041" stroke-miterlimit="10" d="M30,30H16c-1.6,0-3-1.4-3-3V13c0-1.6,1.4-3,3-3h14
c1.6,0,3,1.4,3,3v14C33,28.6,31.6,30,30,30z"/>
<symbol id="xxxxx" viewbox="0 0 50 50">
<use xlink:href="#petal" y="0" x="0"/>
</symbol>
</defs>
</svg>
<svg height="112" width="64" version="1.1">
<use xlink:href="custom/img/svg/file.svg#xxxxx"/>
</svg>
copy: {
dist: {
files: [{
expand: true,
dot: true,
cwd: 'dist',
dest: 'dist/',
src: [
'{,*/}*.html'
],
rename: function(dest, src) {
return dest + src.replace('.html','.php');
}
}]
}
},
@mixin centerer($horizontal: true, $vertical: true) {
position: absolute;
@if ($horizontal and $vertical) {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
} @else if ($horizontal) {
left: 50%;
transform: translate(-50%, 0);
} @else if ($vertical) {
top: 50%;
transform: translate(0, -50%);
}
}
.container лучше прописывать в html, код более читаемый будет