/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
background: #color; /* for non-css3 browsers */ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#color', endColorstr='#color'); /* for IE */ background: -webkit-gradient(linear, left top, left bottom, from(#color), to(#color)); /* for webkit browsers */ background: -moz-linear-gradient(top, #color, #color); /* for firefox 3.6+ */