Google Chrome background-gradient

Viewed 44786

Really amateur question here - body background-gradient isn't working in chrome, very strange, I've tried:

background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFF), to(#000));

And

background: -webkit-gradient(linear, 0%, 0%, 0%, 100%, from(#fff), to(#000));

And

background: -webkit-gradient(linear, center top, center bottom, from(#fff), to(#000));

All to no avail! Works in every other browser...

4 Answers

Like you, I had a problem with the Chrome browser, but the only solution is to use inline styles! style = "" Write the your code here to solve the problem

Related