swiper实现发展历程时间节点时间线拖动效果代码

代码语言:html

所属分类:图表

代码描述:swiper实现发展历程时间节点时间线拖动效果代码

代码标签: 历程 时间 节点 时间 线 拖动 效果

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

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <style>
        * {
            margin: 0;
            padding: 0
        }

        html,body {
            font: 14px/1.5 normal;
            font-family: microsoft yahei,Arial,Tahoma,sans-serif;
            color: #666;
            overflow-x: hidden
        }

        a {
            color: #333;
            transition: all .3s ease-in-out;
            cursor: pointer;
            text-decoration: none
        }

        a:hover {
            color: #0a3875
        }

        ul,dl {
            list-style: none
        }

        i {
            font-style: normal
        }

        img {
            display: inline-block;
            vertical-align: middle;
            border: 0
        }

        .warper {
            max-width: 1800px;
            margin: 0 auto
        }

        .fl {
            float: left
        }

        .fr {
            float: right
        }

        .clear {
            clear: both;
            display: block;
            overflow: hidden;
            visibility: hidden;
            width: 0;
            height: 0
        }

        .clearfix:before,.clearfix:after {
            content: " ";
            display: block;
            overflow: hidden;
            visibility: hidden;
            width: 0;
            height: 0
        }

        .clearfix:after {
            clear: both
        }

        .clearfix {
            *zoom: 1
        }

        .pr {
            position: relative
        }

        .warper {
            max-width: 1800px;
            margin: 0 auto
        }

        .about-main2 {
            height: 890px;
            width: 100%;
            overflow: hidden
        }

        .about-main2 .licheng-bg {
            background-color: rgba(255,255,255,.8);
            width: 100%;
            height: 100%;
            position: relative
        }

        .about-main2 .licheng-bg .warper {
            height: 100%
        }

        .about-main2 .licheng-bg img {
            height: 518px;
            position: absolute;
            bottom: 0;
            left: 0
        }

        .about-main2 .ny-title {
            padding-top: 80px
        }

        .ny-title .title-en {
            font-size: 36px;
            color: #b4b4b4;
            font-family: arial;
            line-height: 36px;
            font-weight: 400
        }

        .ny-title .title-ch {
            font-size: 26px;
            color: #333;
            margin: 15px 0;
            font-weight: 400
        }

        .ny-title i {
            display: block;
            width: 42px;
            height: 1px;
            background-color: #b5b5b5
        }

        .about-main2 .licheng-content {
            position: absolute;
            width: 100%;
            height: 100%
        }

        .about-main2 .licheng-content .swiper-wrapper,.about-main2 .licheng-content .swiper-slide,.about-main2 .licheng-content ul {
            width: 100%;
            height: 100%
        }

        .about-main2 .licheng-content ul li {
            width: 20%;
            float: left;
     .........完整代码请登录后点击上方下载按钮下载查看

网友评论0