61,112
社区成员
发帖
与我相关
我的任务
分享
<!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>
.imagebar {
width: 100%;
height: 114px;
border: 1px solid #000;
overflow-x: auto;
overflow-y: hidden;
}
.imagebar a {
position: relative;
width: 120px;
height: 100px;
border: 1px solid #eee;
display: inline-block;
margin: 2px;
}
.close {
position: absolute;
left: -9999px;
top: 0;
}
.imagebar a:hover .close {
left: 110px;
}
</style>
</head>
<body>
<div class="imagebar">
<a href="#">
<img src="http://ss5.sinaimg.cn/thumbnail/63340ef5g8f8479e5ce14&690"/>
<img class="close" src="http://www.mytino.com/profile/images/ico-close2.gif"/></a>
<a href="#">
<img src="http://ss5.sinaimg.cn/thumbnail/63340ef5g8f8479e5ce14&690"/>
<img class="close" src="http://www.mytino.com/profile/images/ico-close2.gif"/></a>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>无标题文档</title>
<style>
.imagebar {
width: 100%;
height: 114px;
border: 1px solid #000;
overflow-x: auto;
overflow-y: hidden;
}
.imagebar a {
position: relative;
width: 120px;
height: 100px;
border: 1px solid #eee;
display: inline-block;
margin: 2px;
}
.imagebar a:hover {
border: 1px solid red;
}
.close {
position: absolute;
left: -9999px;
top: 0;
}
.imagebar a:hover .close {
left: 110px;
}
</style>
</head>
<body>
<div class="imagebar">
<a href="#">
<img src="http://ss5.sinaimg.cn/thumbnail/63340ef5g8f8479e5ce14&690"/>
<img class="close" src="http://www.mytino.com/profile/images/ico-close2.gif"/></a>
<a href="#">
<img src="http://ss5.sinaimg.cn/thumbnail/63340ef5g8f8479e5ce14&690"/>
<img class="close" src="http://www.mytino.com/profile/images/ico-close2.gif"/></a>
</div>
</body>
</html>