クリックしたときにテキストリンクのホバー不透明効果を解除するにはどうすればよいですか?例えばクリックしたときのテキストリンクのホバーの不透明効果を変更するにはどうすればよいですか?
、
a.test {
text-decoration:none;
}
a.test:hover {
text-decoration:none;
opacity:0.6 !important;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter:alpha(opacity=60) !important;
}
<a href="#" class="test">Click Me</a>
$(".test").click(function(){
$(this).unbind('mouseenter mouseleave');
return false;
})
私は、それがクリックされたときに不透明度が影響を置くことを望んでいません。
ここにはlinkがあります。
編集:私はハッククラスのないソリューションを好むだろう
。出来ますか?
可能な複製http://stackoverflow.com/questions/436629/how-do-i-remove-hover。 – Femi
バインドされていないものは明らかにバインド解除できません:) – yoda