<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>图片特效展示</title>
<style type =css/text>
body, ul, li, ol {
list-style: none;
padding: 0px;
margin: 0px;
font-size: 12px;
font-family: 微软雅黑;
}
img {
border: 0px;
}
.picList {
width: 100%;
float: left;
}
.picList .pic1 {
width: 300px;
height: 200px;
position: relative;
overflow: hidden;
float: left;
margin: 10px 0 0 10px;
}
</style>
</head>
<body>
<div id="picList">
<div id="pic1">
<img src="img/1.jpg" alt="">
<a href="#"></a>
</div>
<div id="pic2">
<img src="img/2.jpg" alt="">
<a href="#">圆角水晶按钮制作<br>
网页中圆角按钮和狂堵按钮制作就这么轻松
</a>
</div>
<div id="pic3">
<img src="img/3.jpg" alt="">
<a href="#">导航条菜单制作<br>
30分钟教会你制作各式各样的导航条菜单
</a>
</div>
</div>
</body>
</html>上面的.picList .pic的定义为什么就没有效果呢?
- 2 回答
- 0 关注
- 1781 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消