Created
May 19, 2013 19:15
-
-
Save xcobary/5608642 to your computer and use it in GitHub Desktop.
Untitled
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
.blue{background-color:#4A7496;} | |
.green{background-color:#49796B;} | |
.grey{background-color:#888} | |
.etched{ | |
width:100px; | |
height:100px; | |
border:1px solid rgba(0,0,0,0.4); | |
position:relative; | |
border-radius:1px 0 0 1px; | |
box-shadow:1px 1px 2px -1px #000; | |
} | |
.etched:nth-child(n+2){ | |
border-top:0; | |
} | |
.etched:after{ | |
content:''; | |
position:absolute; | |
top:0px; | |
left:0px; | |
z-index:1000; | |
width:48px; | |
height:48px; | |
border-radius:1px 0 0 1px; | |
border:1px solid rgba(255,255,255,0.1); | |
border-bottom:0; | |
} | |
.etched:hover:after{ | |
background-color:rgba(255,255,255,0.1); | |
} |
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 class="etched blue"> | |
<p class"etched"> </p> | |
</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","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