<!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 type="text/css">
*{
padding:0; margin:0; list-style:none; border:0;}
.all{
width:500px;
height:200px;
padding:7px;
border:1px solid #ccc;
margin:100px auto;
position:relative;
}
.screen{
width:500px;
height:200px;
overflow:hidden;
position:relative;
}
.screen li{
width:500px; height:200px; overflow:hidden; float:left;}
.screen ul{
position:absolute; left:0; top:0px; width:3000px;}
.all ol{
position:absolute; right:10px; bottom:10px; line
html 无缝轮播图完整代码
最新推荐文章于 2024-06-26 20:04:17 发布