多图片轮播图

多图片轮播图_第1张图片

HTML code

  • ![](img/bg3.1.jpg)
  • ![](img/gf.jpg)
  • ![](img/myg.jpg)
  • ![](img/hhy.jpg)
  • ![](img/jsjx2.jpg)
  • ![](img/kbgs1.jpg)

CSS code

        body,
        div,
        ul,
        li,
        img {
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #68B;
        }

        .box {
            width: 1180px;
            height: 236px;
            margin: 40px 0 0 50px;
            position: relative;
            z-index: 1;
        }

        ul {
            width: 1200px;
            height: 236px;
            position: relative;
            z-index: 1;
            display: block;
        }

        li {
            list-style: none;
            float: left;
            position: relative;
            margin-right: 20px;
        }

        img {
            width: 180px;
            height: 236px;
        }
         
        .prev, .next {
            width: 30px;
            height: 50px;
            background: url(左右轮播/images/icon.png) no-repeat;
            background: url(左右轮播/images/icon_ie6.png) no-repeat \9;
            opacity: .7;
            margin-top: -12%;
            position: absolute;
            z-index: 2;
        }

        .prev:hover, .next:hover {
            opacity: .9;
        }

        .prev {
            background-position: 0 -60px;
            left: 4px;
        }

        .next {
            background-position: 0 0;
            right: 4px;
        }
##    jQ code




















你可能感兴趣的:(多图片轮播图)