timeline.js实现一个自适应响应式时间轴时间线大事记效果代码

代码语言:html

所属分类:响应式

代码描述:timeline.js实现一个自适应响应式时间轴时间线大事记效果代码

代码标签: timeline 响应式 时间线 时间轴 大事记

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

<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/timeline.min.css">
    <style>
        body{font-family:'Roboto';background-color:#ECF0F1}
    </style>
</head>

<body>
    <main style="margin-top:150px">
        <section class="page-section">
            <div class="container">
                <div class="timeline">
                    <div class="timeline__wrap">
                        <div class="timeline__items">
                            <div class="timeline__item">
                                <div class="timeline__content">
                                    <h2>2023</h2>
                                    <p>Lorem ipsum dolor sit amet,consectetur adipiscing elit. Integer dignissim neque condimentum lacus dapibus. Lorem ipsum dolor sit amet,consectetur adipiscing elit. Integer dignissim neque condimentum lacus dapibus. </p>
                                </div>
                            </div>
                            <div class="timeline__item">
                                <div class="timeline__content">
                                    <h2>2022</h2>
                                    <p>Lorem ipsum dolor sit amet,consectetur adipiscing elit. Integer dignissim neque condimentum lacus dapibus.</p>
                                </div>
                            </div>
                            <div class="timeline__item">
                                <div class="timeline__content">
                                    <h2>2020</h2>
                                    <p>Lorem ipsum dolor sit amet,consectetur adipiscing elit. Integer dignissim neque condimentum lacus dapibus.</p>
                                </div>
                            </div>
                            <div class="timeline__item">
                                <div class="timeline__content">
                                    <h2>2019</h2>
                                    <p>Lorem ipsum dolor sit amet,consectetur adipiscing elit. Integer dignissim neque condimentum lacus dapibus.</p>
      .........完整代码请登录后点击上方下载按钮下载查看

网友评论0