Skip to content

Instantly share code, notes, and snippets.

@ynonp
Created December 17, 2011 17:13
Show Gist options
  • Save ynonp/1490783 to your computer and use it in GitHub Desktop.
Save ynonp/1490783 to your computer and use it in GitHub Desktop.
Arcs example
/**
* Arcs example
*/
html {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height:100%;
}
svg {
display: block;
width: 100px;
margin: 0 auto;
}
<!-- content to be placed inside <body>…</body> -->
<svg>
<g transform='translate(0,60)'>
<path d='M0,0 A40,40 0 0,0 50,0 L100,100' stroke='white' stroke-width=5 />
</g>
</svg>
{"page":"html","view":"split"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment