cute.slider实现三维幻灯片翻转过渡效果代码

代码语言:html

所属分类:幻灯片

代码描述:cute.slider实现三维幻灯片翻转过渡效果代码

代码标签: 幻灯片 翻转 过渡 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <style>
        /* Div */
        body {
            margin: 0;
            color: #555;
            min-width: 320px;
            -webkit-text-size-adjust: 100%;
            background-color: #eeeeee;
            font-family: "微软雅黑";
            font-size: 14px;
            line-height: 20px;
        }

        img {
            border-style: none;
            vertical-align: top;
            max-width: 100%;
            height: auto;
        }

        a {
            text-decoration: none;
            color: #333;
        }
        a:hover {
            color: #ff7700;
            text-decoration: none;
        }

        .c-860 {
            max-width: 800px;
            margin-top: 0px;
            margin-right: auto;
            margin-bottom: 0px;
            margin-left: auto;
            padding-top: 100px;
            padding-right: 10px;
            padding-bottom: 0px;
            padding-left: 10px;
        }

        .c-demoslider {
            margin: 0px auto;
        }
        /* Slider */
        #layerslider-wrapper {
            position: relative;
        }
        #layerslider-wrapper .ls-shadow-top {
            position: absolute;
            background-image: url(//repo.bfw.wiki/bfwrepo/images/huodong/huandeng/shadow-top.png);
            background-repeat: no-repeat;
            background-position: top center;
            height: 42px;
            width: 100%;
            top: 0;
            z-index: 1;
        }
        #layerslider-wrapper .ls-shadow-bottom {
            position: absolute;
            background-image: url(//repo.bfw.wiki/bfwrepo/images/huodong/huandeng/shadow-bottom.png);
            background-repeat: no-repeat;
            background-position: bottom center;
            height: 32px;
            width: 100%;
            bottom: 0;
            z-index: 1;
        }
        .ls-avada {
            border-top: 1px solid #d2d3d4;
            border-bottom: 1px solid #d2d3d4;
        }
        .ls-avada .ls-layer {
            background-repeat: no-repeat;
            background-position: center center;
        }
        .ls-avada .ls-nav-prev, .ls-avada .ls-nav-next {
            background-color: rgba(0, 0, 0, 0.5);
            background-repeat: no-repeat;
            width: 63px;
            height: 63px;
            display: none;
            position: absolute;
            top: 42%;
            opacity: 0.8 !important;
        }
        .no-rgba .ls-avada .ls-nav-prev, .no-rgba .ls-avada .ls-nav-next, .no-rgba .wooslider .wooslider-prev, .no-rgba .wooslider .wooslider-next {
            background-color: #ccc;
        }
        .ls-avada .ls-nav-prev:hover, .ls-avada .ls-nav-next:hover {
            opacity: 1 !important;
        }
        .ls-avada:hover .ls-nav-prev, .ls-avada:hover .ls-nav-next {
            display: block;
        }
        .ls-avada .ls-nav-prev {
            background-image: url(//repo.bfw.wiki/bfwrepo/images/huodong/huandeng/ls_prev.png);
            background-position: 19px 19px;
            left: 0;
        }
        .ls-avada .ls-nav-next {
            background-image: url(//repo.bfw.wiki/bfwrepo/images/huodong/huandeng/ls_next.png);
            background-position: 29px 19px;
            right: 0;
        }

        #fallback-slide {
            display: none;
            text-align: center;
        }


        /* Global styles */

        .cute-slider {
            position: relative;
            visibility: hidden;
            overflow: hidden;
        }

        .cute-ie8 *,
        .cute-ie7 * {
            filter: inherit;
            opacity: inherit;
        }

        /* Slider Controls */

        .br-controls {
            position: absolute;
            z-index: 10;
        }

        .br-next,
        .br-previous,
        .br-slidecontrol,
        .br-thumb-bottom .br-thumb-img,
        .br-thumb-up .br-thumb-img,
        .br-thumblist {
            position: absolute;
        }

        .br-slidecontrol {
            list-style: none;
            cursor: auto !important;
        }

        .br-slidecontrol ul {
            margin: 0px;
            padding: 0px;
            height: 0px;
        }

        .br-slidecontrol ul li {
            display: block;
            position: relative;
            float: left;
            cursor: pointer !important;
        }

        .br-slidecontrol ul li .br-control-selected {
            display: none;
        }

        .br-thumb-bottom,
        .br-thumb-up {
            position: relative;
        }

        .br-thumblist {
            width: 100%;
            text-align: center;
            height: 0px;
            left: 0px;
            bottom: 0px;
        }

        .br-thumblist-content .br-list-thumb img {
            cursor: pointer !important;
        }

        .br-thumb-img img {
            height: 100% !important;
        }

        .br-slideinfo .top,
        .br-slideinfo .bottom {
            width: 100%;
        }

        .br-slideinfo .right,
        .br-slideinfo .left {
            height: 100%;
        }

        .br-slideinfo .more-btn {
            cursor: pointer !important;
            display: block;
            position: relative;
            text-decoration: none;
        }

        .br-slideinfo .subtitle,
        .br-slideinfo .title,
        .br-slideinfo .text {
            display: block;
        }

        /* Slider Timer */

        .br-circle-timer,
        .br-circle-timer .br-timer-dot,
        .br-bar-timer,
        .br-bar-timer .br-timer-bar {
            position: absolute !important;
        }

        .br-circle-timer .br-timer-dot {
            left: 50% !important;
            top: 50% !important;
        }

        /* Slider Captions */

        .br-captions div {
            position: absolute;
            text-shadow: none;
        }

        /* Slider Video */

        .br-video .play-btn,
        .br-video .close-btn {
            background-repeat: no-repeat;
            cursor: pointer !important;
            position: absolute;
        }

        .br-video .video.........完整代码请登录后点击上方下载按钮下载查看

网友评论0