用CSS改变的图片由模糊到清楚的导航

12/19/2007来源:网页特效人气:6321

<!-- 把下列代码加入到head区内 -->
<style>
.highlightit img{
filter:PRogid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: 0.5;
}

.highlightit:hover img{
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
-moz-opacity: 1;
}

</style>


<!-- 把下列代码加入到body区内 -->
<a href="http://www.knowsky.com/" class="highlightit"><img border="0" src="/img/200406301.jpg"></a>
<a href="http://www.knowsky.com/" class="highlightit"><img border="0" src="/img/200406301.jpg"></a>