Created
April 14, 2012 14:07
-
-
Save cleitonfco/2384656 to your computer and use it in GitHub Desktop.
Background Image Gradients
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
/** | |
* Background Image Gradients | |
*/ | |
body { | |
background: #fff; | |
} | |
h2, h3, h4 { | |
display:block; | |
margin:20px; | |
width: 300px; | |
height: 60px; | |
border-radius:30px; | |
} | |
h2 { | |
background-color: #34a; | |
background-image: linear-gradient(left, #34a, #78f); | |
} | |
h3 { | |
background-color: #a34; | |
background-image: linear-gradient(top, #a34 50%, #700 50%); | |
} | |
h4 { | |
background-color: #3a4; | |
background-image: linear-gradient(45deg, #3a4 40%, #070 60%); | |
} |
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
<h2></h2> | |
<h3></h3> | |
<h4></h4> |
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