Forums

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

Home Forums CSS Pure CSS3 Button

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33021

    Messing around with button design.

    Any thoughts?

    #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 */
    }
    #73948
    andrewsellenrick
    Participant

    Looks good but can’t you get rid of the extra div and just add the button class to the anchor?

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.