Having some environmental constraints, I have resized this 16x16 icon to 13.4x16, but it appears blurry. Despite my understanding of SVG and setting the preserveAspectRatio attribute, the resizing does not work as expected. Can anyone point out what I might be doing wrong?
.menu {
width: 13.4px;
height: 16px;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>SVG icon resize</title>
</head>
<body>
<svg class="menu" version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" preserveAspectRatio="x16Y16 meet">
<polygon points="2,6 2,4 14,4 14,6 " />
<polygon points="2,9 2,7 14,7 14,9 " />
<polygon points="2,12 2,10 14,10 14,12 " />
</svg>
</body>
</html>
To view the icon correctly, adjust the width back to 16px.
Explore this snippet on jsBin - enter link description here