I like to use inline SVG elements with a viewBox
set and then setting the height in the style or with a class and leaving the browser to set the width itself according to scale:
<svg style="height: 20px" viewBox="0 0 399 52" ...
This works in Chrome, Firefox, Safari:
but IE11 does not seem to handle this correctly:
Here is the js-bin: http://jsbin.com/lovicitoco/edit?html,css,output
Is this a know IE11 problem? Is there some nice workaround?