Skip to content

Instantly share code, notes, and snippets.

@diogeneshamilton
Created April 18, 2013 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diogeneshamilton/5410302 to your computer and use it in GitHub Desktop.
Save diogeneshamilton/5410302 to your computer and use it in GitHub Desktop.
HTML5 / CSS3 Circle with Partial Border
/**
* HTML5 / CSS3 Circle with Partial Border
* http://stackoverflow.com/q/13059190/1397351
*/
* { margin: 0; padding: 0; }
.circle {
position: relative;
margin: 5% auto;
width: 50%; height: 50%;
border-radius: 100%;
background: lightblue;
}
.container {
width: 100px; height: 100px;
border-radius: 50%;
background: lightblue;
}
<!-- content to be placed inside <body>…</body> -->
<div class='container'>
<div class='circle'>
</div>
</div>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment