Hey Friends! I have been trying to add some gradient to the body of my template and after a couple of goes it still does not show up, I have read some browsers do not support it, yet when I go to other sites I can see gradient so I am guessing my browser does. Hopefully I am not making a dumb mistake? Ok here is the code I am using in my css
body {
background:#D8D8D8;
background: linear-gradient (top to bottom, #D8D8D8 0%, #585858 100%);
background: -moz-linear-gradient (top to bottom, #D8D8D8 90%, #585858 100%);
background: -webkit-linear-gradient (top to bottom, #D8D8D8 0%, #585858 100%);
background: -o-linear-gradient (top to bottom, #D8D8D8 0%, #585858 100%);
}
I was able to go to w3 and find this and I did actually get a result, however I am still wondering why the first try did not work? At least now I have something to play around with, have a good weekend (friday evening here in Australia)
body { background: red;
background: -webkit-linear-gradient(left, rgba(255,0,0,0), rgba(255,0,0,1));
}
Those prefixes probably added to your problems because of how you ordered them.
You had the non-prefixed version first, that means it could be overridden by the prefixed versions.
The non-prefixed version should always be last, if you use prefixes at all.
This can help show what is supported and what needs a prefix.
I did give this site a visit, what threw me was the preview section specifies a size? What if I wish to do the full screen, is there a standard sizing option to use I wonder?