Created
January 31, 2013 19:49
-
-
Save jwdallas/4685808 to your computer and use it in GitHub Desktop.
Featured banner CSS
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
/* Featured banner CSS */ | |
.featured { background:#2ca9df; background:linear-gradient(top, #2dafe7 0%, #2ca6db 100%); | |
padding:2px 44px 2px 18px; font-size:11px; font-weight:normal; color:#fff; | |
text-transform:uppercase; box-shadow:0 2px 1px 0 #cacaca; position:absolute; right:-20px } | |
.featured:before { content:''; position:absolute; border-bottom:10px solid transparent; | |
border-left:10px solid #4b4b4b; top:19px; right:0 } | |
/* --------------------------------------------------- | |
/* Dabblet only. Do not use code below */ | |
* { margin:0; padding:0 } | |
body { font:300 100%/1.4 proxima-nova-1,proxima-nova-2,sans-serif } | |
.featured { top:100px; left:100px; right:auto } |
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
<span class="featured">Featured</span> |
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":"separate","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