Skip to content

Instantly share code, notes, and snippets.

@freeatnet
Created September 16, 2014 14:40
Show Gist options
  • Save freeatnet/4741014c443fc82a53cf to your computer and use it in GitHub Desktop.
Save freeatnet/4741014c443fc82a53cf to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="10"> <style type="text/css"> .svg-triangle-rect { fill: url(#svg-triangle-pattern); } </style> <pattern id="svg-triangle-pattern" width="20" height="10" patternUnits="userSpaceOnUse"> <path class="svg-triangle" d="M0,0 L10,10 20,0"></path> </pattern> <rect class="svg-triangle-rect" width="100%" height="100%"></rect></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment