Here is a question that may be relevant: How can I resize an SVG?
I am interested in resizing the arrow created in SVG using CSS. The linked question achieved this through an HTML directive (viewBox="0 0 32 32"
)
Does anyone have any suggestions?
#DIV_1 {
float: left;
font-family: 'PT Sans Narrow';
font-size: 13px;
height: 33px;
overflow-wrap: break-word;
padding-right: 20px;
padding-top: 8px;
text-align: center;
width: 50px;
word-wrap: break-word;
perspective-origin: 35px 20.5px;
transform-origin: 35px 20.5px;
font: normal normal normal normal 13px/normal 'PT Sans Narrow';
padding: 8px 20px 0px 0px;
}/*#DIV_1*/
#svg_2 {
font-family: 'PT Sans Narrow';
font-size: 13px;
height: 29px;
overflow-wrap: break-word;
overflow-x: hidden;
overflow-y: hidden;
text-align: center;
width: 50px;
word-wrap: break-word;
perspective-origin: 25px 14.5px;
transform-origin: 25px 14.5px;
font: normal normal normal normal 13px/normal 'PT Sans Narrow';
overflow: hidden;
}/*#svg_2*/
#path_3 {
font-family: 'PT Sans Narrow';
font-size: 13px;
overflow-wrap: break-word;
text-align: center;
word-wrap: break-word;
fill: rgb(25, 94, 2);
font: normal normal normal normal 13px/normal 'PT Sans Narrow';
}/*#path_3*/
<div class="igc-textual-icon" id="DIV_1"><svg data-id="" height="29" width="50" version="1.1" xmlns="http://www.w3.org/2000/svg" id="svg_2">
<path class="igc-table-scaledpath" fill="#195e02" d="M50,25C49.99999999999999,25.84,49.69333333333333,26.573333333333334,49.08,27.2C48.46666666666666,27.826666666666664,47.73333333333333,28.133333333333333,46.879999999999995,28.12C46.879999999999995,28.12,3.1399999999999935,28.12,3.1399999999999935,28.12C2.2999999999999936,28.119999999999997,1.56666666666666,27.813333333333333,0.9399999999999933,27.2C0.31333333333332647,26.586666666666662,0.006666666666659825,25.853333333333328,0.019999999999993245,25C0.033333333333326665,24.14666666666667,0.3399999999999933,23.413333333333334,0.9399999999999933,22.8C0...
</svg></div>