skip to Main Content

Css – Expand arrow SVG

I have arrow created in svg and I display it in my html. <svg xmlns="http://www.w3.org/2000/svg" width="28" height="8" viewBox="0 0 28 18"> <g id="Group1" data-name="Group1" transform="translate(28.321 -0.144) rotate(90)"> <rect id="Rectangle_1107" data-name="Rectangle 1107" width="5" height="22" transform="translate(6.144 6.321)" fill="#000000"/> <path id="Pol_1" data-name="Pol 1"…

VIEW QUESTION

Html – Dynamic CSS for SVG

In angular, I am displaying an SVG: <div [innerHTML]="svgImage" class="center"> </div> The SVG contains polygons with a unique ID, for example: <polyline id="tp_31" fill="#FFFAEC" points="698.814,494.607 719.188,459.31 698.813,424.014 658.064,424.015 637.69,459.313 658.065,494.608 698.814,494.607 "/> I am able to style each polygon individually…

VIEW QUESTION
Back To Top
Search