I have a problem only inside Chrome, it is checked inside Opera, FF, Safari and everything works fine.
I know that in Chrome 17 there was an error with clicking on the visited links, so I even included the thought, which was fixed.
There is still no animation for switching to hover for border-bottom.
any clues? I just donโt see anything? I read, and everything seems to be talking about the color of the text, while I'm trying to switch to a border color.
I tried animating at border-bottom from none to 1px solid # 9ecd41, but found that all browsers except firefox had a funky jagged animation where it seemed to bounce.
any help would be awesome, the code I'm working with is attached.
Ok, here is my html
<nav> <ul class="nav"> <li><a href="#">ABOUT</a></li> <li><a href="#">SERVICES</a></li> <li><a href="#">MEDIA</a></li> <li><a href="#">BLOG</a></li> <li><a href="#">CONTACT</a></li> </ul> </nav>
And here is my CSS
nav { float: right; height: auto; width: auto; padding: 25px; } ul.nav { width: auto; height: auto; overflow: visible; } .nav > li { display: inline-block; margin-right: 20px; } .nav > li:last-child { margin-right: 5px; } .nav > li > a:visited { color: #ffffff; letter-spacing: 1px; text-decoration: none; display: block; font-family: "proxima-nova-condensed",sans-serif; font-style: normal; font-weight: 400; font-size: 12px; font-smooth: always; -webkit-font-smoothing: antialiased; padding-bottom: 5px; border-bottom: 1px solid #333; -webkit-transition: all .5s ease-in; -moz-transition: all .5s ease-in; -o-transition: all .5s ease-in; -ms-transition: all .5s ease-in; transition: all .2s ease-in; } .nav > li > a { color: #ffffff; letter-spacing: 1px; text-decoration: none; display: block; font-family: "proxima-nova-condensed",sans-serif; font-style: normal; font-weight: 400; font-size: 12px; font-smooth: always; -webkit-font-smoothing: antialiased; padding-bottom: 5px; border-bottom: 1px solid #333; -webkit-transition: all .5s ease-in; -moz-transition: all .5s ease-in; -o-transition: all .5s ease-in; -ms-transition: all .5s ease-in; transition: all .2s ease-in; } .nav > li > a:hover { border-bottom: 1px solid #9ecd41; } .nav > li > a:active { border-bottom: 1px solid #f96d10; }
source share