Created
April 21, 2015 07:03
-
-
Save titox/735f1fce626cdd4ee305 to your computer and use it in GitHub Desktop.
Multiple borders
This file contains hidden or 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
| /** | |
| * Multiple borders | |
| */ | |
| body { | |
| padding: 20%; | |
| text-align: center; | |
| } | |
| div { | |
| margin: 0 auto; | |
| width: 200px; | |
| height: 200px; | |
| border-radius: .2em; | |
| background: yellowgreen; | |
| border-radius: 50%; | |
| box-shadow: | |
| 0 0 0 10px #655, | |
| 0 0 0 20px deeppink, | |
| 0 0 0 30px blue, | |
| 0 0 0 40px red, | |
| 0 2px 50px 50px rgba(0,0,0,.6); |
This file contains hidden or 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
| <div></div> |
This file contains hidden or 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
| // alert('Hello world!'); |
This file contains hidden or 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":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment