html - Any other way to add Viewbox value in css -
I want to add Viewbox value to dynamically control Google Geochart svg. This SVG was not fit for the container in the IE browser
There is no way SVG can fit the divider container by using the viewbox attribute
To clarify your code but post on potential issues.
If you have width and / or height then it will not be properly corrected in Internet Explorer. Extract the attribute width and height on STVG but keep the view-box defined and it will work better.
You can also target your CSS especially if you need it:
img [src * = ". SVG"] {width: 100% \ 9; } @ Media screen and (minimum-width: 0 \ 0) {img [src * = ". Svg"] {width: 100%; }}
Comments
Post a Comment