Created
March 27, 2014 15:30
-
-
Save robertpateii/9810202 to your computer and use it in GitHub Desktop.
A simple SVG I wrote by hand to learn how it's done. If you want it to easily resize based on the width and height, the viewBox values need to match the total width and height of the shapes you've drawn. Then you can scale it up or down with the width and height attributes on the SVG element or with CSS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg xmlns="http://www.w3.org/2000/svg" class="cloud-plus-icon" viewBox="0 0 202 202" width="50" height="50"> | |
<rect x="76" y="1" width="50px" height="200px" stroke="green" fill="transparent"></rect> | |
<rect x="1" y="76" width="200px" height="50px" stroke="green" fill="transparent"></rect> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment