Skip to content

Instantly share code, notes, and snippets.

@Wilto
Last active August 29, 2015 13:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wilto/8697642 to your computer and use it in GitHub Desktop.
Save Wilto/8697642 to your computer and use it in GitHub Desktop.

“Responsive”:

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
	xmlns:xlink="http://www.w3.org/1999/xlink" 
	x="0px" y="0px"
	viewBox="0 0 21 8" 
	enable-background="new 0 0 21 8"
	xml:space="preserve">
<polygon points="…"/>
</svg>

Non-“responsive”:

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
	xmlns:xlink="http://www.w3.org/1999/xlink"
	x="0px" y="0px"
	width="21px" height="8px" 
	viewBox="0 0 21 8"
	enable-background="new 0 0 21 8"
	xml:space="preserve">
<polygon points="… "/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment