How can I make a webpage gradient ASP.NET and CSS?
How can I make a webpage gradient ASP.NET and CSS? For example, the gradient starts with light bl开发者_JS百科ue and ends with white?
http://webdesignerwall.com/tutorials/cross-browser-css-gradient
Is that what you are looking for?
try Css3Please, to generate a cross browser gradients,
although ColorZilla have a very nice gradient editor tool!
for example, the following css style should give you what you need:
background-color: #00aeef;
background-image: -webkit-gradient(linear, left top, left bottom, from(#00aeef), to(#ffffff)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(top, #00aeef, #ffffff); /* Chrome 10+, Saf5.1+ */
background-image: -moz-linear-gradient(top, #00aeef, #ffffff); /* FF3.6 */
background-image: -ms-linear-gradient(top, #00aeef, #ffffff); /* IE10 */
background-image: -o-linear-gradient(top, #00aeef, #ffffff); /* Opera 11.10+ */
background-image: linear-gradient(top, #00aeef, #ffffff);
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#00aeef', EndColorStr='#ffffff'); /* IE6–IE9 */
精彩评论