Skip to content

Instantly share code, notes, and snippets.

@junxi
Last active November 1, 2018 11:34
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junxi/9319529 to your computer and use it in GitHub Desktop.
Save junxi/9319529 to your computer and use it in GitHub Desktop.
Pure css three quarters circle
.three-quarters-circle {
width: 0px;
height: 0px;
border-radius: 100px;
border: 100px solid aqua;
border-top-color: transparent;
-webkit-transform: rotate(45deg);
}
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="css-three-quarters-circle" />
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<div class="three-quarters-circle"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment