超简洁又强大的幻灯片JS、CSS代码,兼容性强

html,body {color:#333;font:12px Tahoma,Arial,宋体;} 
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, blockquote, p{margin:0;padding:0} 
li {list-style-type:none;list-style-position:outside} 
img {border:medium none;vertical-align:top} 
input {vertical-align:middle;font-size:12px} 
button {vertical-align:middle;font-size:12px} 
ol, ul {list-style-image:none;list-style-position:outside;list-style-type:none} 
a {color:#363636;text-decoration:none;} 
.clear {clear:both;} 
.clearfix:after {clear:both;content:".";display:block;height:0;overflow:hidden;visibility:hidden} 
em {font-style:normal;} 
.wei{ width:100px; height:100px; background:#00C; margin-left:10px;} 
.img_show{ width:283px; height:194px; position:relative; margin:0 auto; margin-top:10px;} 
.img{ width:283px; height:194px; overflow:hidden;} 
.img ul li{ float:left; width:283px; height:194px;} 
.img ul{ width:1415px; height:194px; } 
.sz{position:absolute; right:5px; bottom:2px;} 
.sz ul li{ float:left; width:20px; height:20px; background:#0F0; color:#00C; margin:0 5px; z-index:100; text-align:center; line-height:20px; cursor:pointer;} 
.sz ul li.on{ background:#900; color:#FFF;} 

  • 1
  • 2
  • 3
  • 4
  • 5
  • css 特效

你可能感兴趣的:(JS,CSS,HTML)