Created
April 13, 2012 22:11
-
-
Save cleitonfco/2380466 to your computer and use it in GitHub Desktop.
Color Fallback (RGBa)
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
/** | |
* Color Fallback (RGBa) | |
*/ | |
div { | |
width:32px; | |
padding:40px; | |
font:20px "Helvetica Neue", sans-serif; | |
margin:0 20px; | |
} | |
div#full { | |
background-color: rgb(255, 153, 0); | |
} | |
div#half { | |
background-color: rgb(255, 153, 0); | |
background-color: rgba(255, 153, 0, 0.5); | |
} | |
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
<div id="full"></div> | |
<div id="half"></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
{"view":"separate","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment