Skip to content

Instantly share code, notes, and snippets.

@snahor
Created September 15, 2013 10:05
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 snahor/6569356 to your computer and use it in GitHub Desktop.
Save snahor/6569356 to your computer and use it in GitHub Desktop.
Untitled
html {
background: #eee;
}
body {
width: 600px;
height: 600px;
border: 10px solid #000000;
border-radius: 50%;
position: relative;
background-color: white;
background-image: linear-gradient(90deg, transparent 50%, #000000 50%, #000000);
margin: auto;
}
body::before {
content: "";
width: 100px;
height: 100px;
border-radius: 50%;
display: block;
position: absolute;
left: 150px;
background: black;
top: 0;
border: 100px solid #ffffff;
}
body::after {
content: "";
width: 100px;
height: 100px;
border-radius: 50%;
display: block;
position: absolute;
left: 150px;
top: 300px;
background: white;
border: 100px solid #000000;
}
{"view":"split-vertical","fontsize":"80","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment