Created
September 15, 2013 10:05
-
-
Save snahor/6569356 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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