So i want to have this gradent background with no repeat, and for it to stretch across the whole homepage.. I have tried almost everything. I hope you guys can help.. here is my css for it..
html, body{
/* IE10 Consumer Preview */
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #00A3EF 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #FFFFFF 0%, #00A3EF 100%);
/* Opera */
background-image: -o-linear-gradient(top, #FFFFFF 0%, #00A3EF 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #00A3EF));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #00A3EF 100%);
/* W3C Markup, IE10 Release Preview */
background-image: linear-gradient(to bottom, #FFFFFF 0%, #00A3EF 100%);
margin: 0;
padding: 0;
}
Gradient background with no repeat?
Page 1 of 11 Replies - 303 Views - Last Post: 20 June 2012 - 02:36 PM
Replies To: Gradient background with no repeat?
#2
Re: Gradient background with no repeat?
Posted 20 June 2012 - 02:36 PM
Use the background attribute, not background-image.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|