<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style>
.touming{ width:300px; height:400px;}
.touming a:hover{
-moz-opacity:0.68 !important; filter:alpha(opacity=68); opacity: 0.68; _-moz-opacity:0.68;
}
</style>
</head>
<body>
<div class="touming"><a href="#"><img src="http://ww2.sinaimg.cn/mw600/86f95d45jw1dtxn6y3czbj.jpg" width="200" height="200" /></a></div>
</body>
</html>
css有关鼠标移动上去图片变透明度变化
最新推荐文章于 2024-08-23 14:03:47 发布