《
用CSS实现的图片透明度链接效果代码》文章地址:http://www.tfxk.com/wangyesheji/jianzhanjingyan/0302344292013.htm
--> [
网站建设之]用CSS实现的图片透明度链接效果代码
用CSS实现的图片透明度链接后果代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
transitional.dtd">
<html xmlns="
<head>
<meta http-equiv="Content-Type",
用CSS实现段落前面缩进两个字; content="text/html; charset=gb2312" />
<title>用CSS实现的图片透明度链接效果代码 - www.dushuwu.net</title>
<style type="text/css">
<!--
*{
margin:0px;
padding:0px;
}
body {
margin:20px;
font-size: 12px;
line-height:18px;
}
.blueidea {
background-color: #CCC;
margin:5px;
padding: 3px;
height: 96px;
width: 128px;
position: relative;
float:left;
}
.blueidea a img {
height: 96px;
width: 128px;
border:none;
}
.blueidea a span {
margin-top:-9000px;
margin-left:-9000px,
用CSS实现图片圆角化处理;
position: absolute;
}
.blueidea a:hover {
background-color: #FFF;
}
.blueidea a:hover span {
height: 88px;
width: 128px;
position: absolute;
left: 0px;
top: 0px;
border:1px solid #F90,
用CSS实现像vista一样很酷的透明效果(附图);
padding: 10px 2px 2px 2px;
background:#FFF;
filter:alpha(opacity=75);
opacity:0.9;
display: block;
text-decoration: none;
cursor:pointer,
用CSS定义表格边框的方法;
margin:0px;
}
.blueidea em {
position:absolute;
left:5px;
bottom:5px;
width:25px;
height:25px;
cursor:pointer;
background:url(/upload/201112/20111220010926395.gif) no-repeat;
}
.blueidea em:hover {
background-image:url(/upload/201112/20111220010926416.gif) ;}
-->
</style>
</head>
<body>
<div class="blueidea"><a href="#"><img src="/upload/201112/20111220010926820.jpg" alt="" /><span>dushuwu,
用CSS和jQuery制作霓虹效果,你今天来了吗?</span></a><em title="我要珍藏"></em></div>
<div class="blueidea"><a href="#"><img src="/upload/201112/20111220010926687.jpg" alt="" /><span>收集精品的网页殊效</span></a><em title="我要收藏"></em></div>
<div class="blueidea"><a href="#"><img src="/upload/201112/20111220010926289.jpg" alt="" /><span>WebDm.cn做有品质的代码下载站</span></a><em title="我要收藏"></em></div>
</body>
</html> Tag:效果 代码 链接 透明度 实现 图片
(责任编辑:网站建设)
用CSS实现的图片透明度链接效果代码相关文章