Here is how to use gradient with background color in css .
.HeaderWrapper {
float:left; display:inline;
width:100%;
background:#5EB440 ;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#236F44', endColorstr='#5EB440'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#236F44), to(#5EB440)); /* for webkit browsers */
background: -moz-linear-gradient(top, #236F44, #5EB440); /* for firefox 3.6+ */
}
.HeaderWrapper {
float:left; display:inline;
width:100%;
background:#5EB440 ;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#236F44', endColorstr='#5EB440'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#236F44), to(#5EB440)); /* for webkit browsers */
background: -moz-linear-gradient(top, #236F44, #5EB440); /* for firefox 3.6+ */
}
No comments:
Post a Comment