Forums

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

Home Forums CSS Problem with CSS -webkit- transition

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #37335
    cpyle0819
    Participant

    Hi all. I’m trying to make a simple hover link with a bg color transition. It seems to work in Dreamweaver’s live view but won’t cooperate in Chrome. Any help is appreciated.
    Thanks!

    Site

    HTML






    CSS

    * {
    margin:0;
    padding:0;
    }

    #nav-wrap {
    position:absolute;
    width:100%;
    background:#292938;
    height:120px;
    }

    #nav-main {
    position:relative;
    width:360px;
    margin-left:auto;
    margin-right:auto;
    }
    #nav-main a {
    text-decoration:none;
    color:#000;
    }

    #nav-about {
    position:relative;
    float:left;
    height:70px;
    width:100px;
    background:#903;
    margin-left:10px;
    margin-right:10px;
    padding-top: 50px;
    text-align:center;
    -webkit-transition: background 1s ease-out;
    }

    #nav-about:hover {
    background:#fff;

    }

    #nav-contact {
    position:relative;
    float:left;
    height:120px;
    width:100px;
    background:#C09;
    margin-left:10px;
    margin-right:10px;
    }

    #nav-gallery {
    position:relative;
    float:left;
    height:120px;
    width:100px;
    background:#6CF;
    margin-left:10px;
    margin-right:10px;
    }
    #99921

    It is possible that you are encountering a known Chrome bug: http://code.google.com/p/chromium/issues/detail?id=101245

    #99923
    cpyle0819
    Participant

    Ah, indeed. Thank you. I certainly feel better about myself at least.
    *update* Ayup, works fine in FF.

    #99966
    cpyle0819
    Participant

    Noted.

    #99979

    There are apss like LiveReload to help with that.

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