Skip to content

Instantly share code, notes, and snippets.

@robertpateii
Created March 27, 2014 15:30
Show Gist options
  • Save robertpateii/9810202 to your computer and use it in GitHub Desktop.
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.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment