skip to Main Content

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

Html – why is SVG style in chrome devtools inspector uneditable?

I have an embedded svg in my webpage: It resides in a div. <div class="svg-button" id = "button1" data-target="section1"> <svg width="27mm" height="11.001mm" viewBox="0 0 102.04745 41.578557" version="1.1" id="svg1" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"> <defs id="defs1" /> <g id="layer1"> <g id="g16-91" transform="matrix(0.16370677,0,0,0.17737745,801.81209,632.87564)"> <path style="font-size:125.192px;font-family:'Avrile…

VIEW QUESTION
Back To Top
Search