Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Pure CSS3 Button Re: Pure CSS3 Button

#73942
jamygolden
Member

Why don’t you add support for the other browsers too? Also, you’re using the old webkit gradient method. The new one is the same as the other browsers.

.button{
background-image: -webkit-gradient(linear, left bottom, left top, from(#655445), to(#4a3421)); /* Saf4+, Chrome */
background-image: -webkit-linear-gradient(bottom, #655445, #4a3421); /* Chrome 10+, Saf5.1+ */
background-image: -moz-linear-gradient(bottom, #655445, #4a3421); /* FF3.6 */
background-image: -ms-linear-gradient(bottom, #655445, #4a3421); /* IE10 */
background-image: -o-linear-gradient(bottom, #655445, #453819); /* Opera 11.10+ */
background-image: linear-gradient(bottom, #655445, #4a3421);} /* Currently not supported by any browser */
}