Gradient Fill Style for buttons and backgrounds

We can apply Gradient Style for the Buttons and backgrounds easily.

Just add the below style to your application.
It is working fine in IE, Mozilla Firfox and Google chrome

.GradientFill
{
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FdE0c0', endColorstr='#ffffff'); /* for IE */
            background: -webkit-gradient(linear, left top, left bottom, from(#FdE0c0), to(#fff)); /* for webkit browsers */
            background: -moz-linear-gradient(top,  #FdE0c0,  #fff); /* for firefox 3.6+ */
}

Gopikrishna

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment