Created
May 2, 2014 16:39
-
-
Save allenwlee/11479993 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.outer { | |
position: relative; | |
height: 100px; | |
width: 100px; | |
background-color: black; | |
} | |
.inner { | |
position: relative; | |
margin: 0 auto; | |
height: 90px; | |
width: 90px; | |
background-color: blue; | |
} | |
.float { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
height: 10px; | |
width: 10px; | |
background-color: yellow; | |
} | |
.text { | |
color: white; | |
font-size: 2em; | |
text-align: center; | |
text-shadow: 2px 1px 150px #FFF, 2px 0 60px #FFF, 2px 0 5px #FFF; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div class='outer'> | |
<div class='text'>s</div> | |
</div> |
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
// alert('Hello world!'); |
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","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