纯CSS代码实现的图片列表滚动
来源:互联网 发布:湘北vs陵南数据 编辑:程序博客网 时间:2024/04/29 18:37
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS滚动</title>
</head>
<style type="text/css">
<!--
ul {
border: 3px double #999;
height: 160px;
width: 200px;
overflow: auto;
overflow-x: hidden;
padding: 2px;
scrollbar-3dlight-color:#cccccc;
scrollbar-arrow-color:#ffffff;
scrollbar-base-color:#cccccc;
scrollbar-darkshadow-color:#cccccc;
scrollbar-face-color:#ccc;
scrollbar-highlight-color:#ffffff;
scrollbar-shadow-color:#ffffff;
}
li {
list-style-type: none;
}
li a img {
filter: Alpha(Opacity=70);
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
width:180px;
height:50px;
padding: 2px;
}
li a:hover img {
filter: Alpha(Opacity=100);
border: 1px solid #666666;
padding: 1px;
}
-->
</style>
<body>
<ul>
<li><a href="#" target="_blank"><img src="01.jpg"></a></li>
<li><a href="#" target="_blank"><img src="02.jpg"></a></li>
<li><a href="#" target="_blank"><img src="03.jpg"></a></li>
<li><a href="#" target="_blank"><img src="04.jpg"></a></li>
</ul>
</div>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>CSS滚动</title>
</head>
<style type="text/css">
<!--
ul {
border: 3px double #999;
height: 160px;
width: 200px;
overflow: auto;
overflow-x: hidden;
padding: 2px;
scrollbar-3dlight-color:#cccccc;
scrollbar-arrow-color:#ffffff;
scrollbar-base-color:#cccccc;
scrollbar-darkshadow-color:#cccccc;
scrollbar-face-color:#ccc;
scrollbar-highlight-color:#ffffff;
scrollbar-shadow-color:#ffffff;
}
li {
list-style-type: none;
}
li a img {
filter: Alpha(Opacity=70);
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
width:180px;
height:50px;
padding: 2px;
}
li a:hover img {
filter: Alpha(Opacity=100);
border: 1px solid #666666;
padding: 1px;
}
-->
</style>
<body>
<ul>
<li><a href="#" target="_blank"><img src="01.jpg"></a></li>
<li><a href="#" target="_blank"><img src="02.jpg"></a></li>
<li><a href="#" target="_blank"><img src="03.jpg"></a></li>
<li><a href="#" target="_blank"><img src="04.jpg"></a></li>
</ul>
</div>
</body>
</html>
0 0
- 纯CSS代码实现的图片列表滚动
- 纯CSS代码实现图片轮显
- 纯CSS实现图片列表悬停放大特效
- 纯CSS实现图片
- 纯CSS实现下拉列表
- 纯css实现下拉列表
- 纯CSS实现点击滚动翻页的效果
- 纯CSS实现的表格滚动条效果
- +【CSS3】使用纯css代码实现图片轮播效果
- jQuery+CSS实现的图片滚动效果
- 兼容浏览器的纯CSS BUTTON按钮代码,无需图片
- 纯CSS代码实现翻页
- 纯CSS代码实现翻页
- 纯代码实现图片预览
- 纯css实现刻度尺列表样式
- 不用图片纯css实现圆角的一种方式
- 几个div+css图片滚动显示的代码
- 几个div+css图片滚动显示的代码
- C# 解决winform界面闪屏问题及弊端
- 数据结构与算法简记:根据层次顺序存储结构构建二叉树
- vector 排序使用方式
- UITableViewCell去掉点击效果
- 第二十六章、MVP应用构架模式
- 纯CSS代码实现的图片列表滚动
- Spark技术文档---不错的博文
- textfield 登录页面Number&Password的同时判定
- 纯CSS实现鼠标移上图片添加阴影效果
- jenkins服务构建
- 与时议少年之苒苒
- WPF4.5 Introduction to the 24, "DataGrid Control Part 2"
- VS2015下如何使用Github的教程
- Js运动动画系列3--缓冲运动