HTML and CSS Reference
In-Depth Information
Whenever you implement CSS3, make your web
pages more accessible by including a fallback for
those browsers that don't support it.
This usually means a solid color for the background
background if the gradient property isn't supported.
The mighty code would be:
#header {
background:rgb(51,51,51);
background:-moz-linear-gradient(top, rgb(51,51,51) 0%, rgb(0,0,0) 100%);
background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,
rgb(51,51,51)), color-stop(100%, rgb(0,0,0)));
background:-webkit-linear-gradient(top, rgb(51,51,51) 0%, rgb(0,0,0) 100%);
background:-o-linear-gradient(top, rgb(51,51,51) 0%, rgb(0,0,0) 100%);
background:-ms-linear-gradient(top, rgb(51,51,51) 0%, rgb(0,0,0) 100%);
background:linear-gradient(top, rgb(51,51,51) 0%, rgb(0,0,0) 100%);
}
ColorZilla outputs a IE8-7 property, filter, , but it's
removed because it's buggy and not recommended.
Use a solid background for IE7-8 instead.
 
Search WWH ::




Custom Search