« HEAD 元素 | head 对象Dictionary 对象:Key 属性 »

几个不错的CSS链接设计(A元素)

1、

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>a</title>
<style type="text/css">
ul#hovershow{
list-style-type: none;
margin: 50px;
float: left;
display: inline;
clear: both;
}
ul#hovershow li{
float: left;
display: inline;
width:64px;
height: 64px;
margin: 2px;
}
ul#hovershow li a {
display: block;width:64px;
height: 64px;

}
ul#hovershow li a img{
border:1px #666 solid;
width:100%;
height:100%;

}
ul#hovershow li a:hover{
position: absolute;
z-index:100;
margin: -32px 0 0 -32px;

}
ul#hovershow li a:hover img{
width:128px;
height:128px;
border:1px red solid;

}

</style>
</head>

<body>
<ul id="hovershow">
<li><a href="1#" title="test"><img src="http://

原创文章如转载,请注明:转载自悠悠博客 [ http://www.ajaxstu.com/ ]

相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。