Use single path for equal width rectangles

This commit is contained in:
Pavel Nikulin
2017-11-26 19:38:22 +00:00
parent 3561c86a68
commit 91dcf21bf8

View File

@@ -1,8 +1,4 @@
<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#3d515b">
<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<rect fill="#e8e9eb" rx="15%" height="512" width="512"/>
<rect height="72" width="144" y="362" x="75"/>
<rect height="72" width="144" y="362" x="295"/>
<rect height="72" width="364" y="220" x="75"/>
<rect height="72" width="220" y="75" x="75"/>
<rect height="72" width="72" y="75" x="364"/>
</svg>
<path stroke="#3d515b" stroke-width="72" d="M75 111h220H75zm289 0h72-72zM75 256h364H75zm0 142h144H75zm220 0h144-144z"/>
</svg>

Before

Width:  |  Height:  |  Size: 406 B

After

Width:  |  Height:  |  Size: 276 B