- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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!
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;
}
It is possible that you are encountering a known Chrome bug: http://code.google.com/p/chromium/issues/detail?id=101245
Ah, indeed. Thank you. I certainly feel better about myself at least.
*update* Ayup, works fine in FF.
Noted.
There are apss like LiveReload to help with that.