在此Website主页上有4个选项卡。当我将鼠标悬停在选项卡上时,如何更改绿蓝色的颜色?更改悬停颜色CSS
a {
-webkit-transition-property: color;
-moz-transition-property: color;
transition-property: color;
-webkit-transition-duration: 0.3s;
-moz-transition-duration: 0.3s;
transition-duration: 0.3s;
}
a {
color: #00e1b6;
line-height: inherit;
text-decoration: none;
}
*, *:before, *:after {
-webkit-box-sizing: inherit;
-moz-box-sizing: inherit;
box-sizing: inherit;
}
a:-webkit-any-link {
color: -webkit-link;
text-decoration: underline;
cursor: auto;
}
用':悬停{颜色:#XXXXXX;}' – LoicTheAztec
这个问题是缺乏的一个完整的例子问题和一旦你改变了现场,这个问题变得毫无用处。 – andyb
[HTML/CSS - 悬停链接颜色]的可能重复(http://stackoverflow.com/questions/15458313/html-css-hover-link-color) –