日本老熟妇maturebbw,最近中文mv字幕免费高清在线7,yy6080久久伦理一区二区,中文字幕人妻av一区二区,成人免费无码av,亚州av综合色区无码一区,日本xxwwwxxxx18,入室强伦轩人妻电影
284292114@qq.com 中國站
行業新聞 網站建設 網絡推廣 首頁>新聞中心>網站建設

基于bootstrap框架寫的垂直時間軸

時間:2025-03-09   訪問量:0

基于bootstrap框架寫的垂直時間軸

先是HTML代碼,循環輸出數據:

    <div class="story-box">
          {hmcms:list num=20   order='sorting asc,id asc'  page=0}              
        <div class="story-list-box wow fadeInUp" >
              <div class="num ">[list:title]</div>
              <div class="year fs-28">[list:title]年</div>
              <div class="fs-16">[list:content]</div>

              <div class="time-line"></div>
          </div>
          {/hmcms:list}
      </div>


然后是CSS:

/*******發展歷程************************/

 
.story-box{
       background: url(../images/storybg.png) top center repeat-y;
    }

.story-list-box{
         position: relative;
        padding: 89px 30px 63px 30px;
        box-shadow: 0 0 24px rgba(18, 35, 62, 0.05);
        background-color: #ffffff;
        z-index: 2;
        text-align: center;
        border-radius: 30px;
        margin-bottom: 30px;
        width:45%;    
    }
    .story-list-box .time-line{
         position: absolute;
         right: -110px;
         top:100px;
         width: 80px;
         height: 80px;
         overflow: hidden;
         
    }
    
.story-list-box .time-line::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 10px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 40px solid #16619E;
}


.story-list-box:nth-child(2n) .time-line:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 40px; 
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 40px solid #16619E; /* 改成 border-left 實現反向三角 */
}

    .story-list-box:nth-child(2n){
        margin-left:55%
    }

    .story-list-box:nth-child(2n) .time-line{
        right:auto;
        left:-120px;
    }

    .story-list-box .num{
           position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #F4F8FF;
    font-size: 160px;
    line-height: 1;
    z-index: -1;
    font-family: 'enbold';
    }

    .story-list-box .year{
      line-height: 38px;
    color: #333333;
    margin-bottom: 20px;
    font-family: 'enbold';
    }


最終效果是左右排列:

image.png

服務咨詢
1對1咨詢,專業客服為您解疑答惑
聯系銷售
15899750475
在線咨詢
聯系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 国产精品第一国产精品| 天美传媒精品1区2区3区| 西西人体444www大胆无码视频 | 日本按摩高潮a级中文片| 中文字日产幕乱五区| 天堂网www天堂在线资源下载| 闷骚的老熟女人15p| 欧美乱妇高清无乱码免费| 亚洲人成人无码www| 亚洲夜夜性无码| 免费+无码+国产在线观看| 亚洲第一成人网站| 国产精品久久久久久av| 国产成人精品综合久久久久| 美女黄频视频大全免费的| 天堂av男人在线播放| 男女作爱免费网站| 午夜不卡久久精品无码免费| 成人性生交大片免费看中文| 国产亚洲精品久久久久久| 女人扒开屁股让男人桶| babesvideos极品另类| 中文无遮挡h肉动漫在线观看| 国精产品一区一区三区免费视频| 国产白嫩美女在线观看| 大地资源高清免费观看| 香蕉av福利精品导航| 午夜福利92国语| 欧美成人a天堂片在线观看| 国产美女牲交视频| 色偷偷888欧美精品久久久 | 国产区精品系列在线观看| 好男人社区www神马| 色爽高清大片免费观看| 中国女人free性hd| ass少妇pics粉嫩bbw| 粗大的内捧猛烈进出看视频| 51国产黑色丝袜高跟鞋 | 中文人妻熟女乱又乱精品| 奶头好大狂揉60分钟视频| aaa女人18毛片水真多|