日本老熟妇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
在線咨詢
聯系在線客服,為您解答所有的疑問
主站蜘蛛池模板: 无码日韩人妻精品久久蜜桃| 让少妇爽到高潮视频| 亚洲精品v日韩精品| 色欲色av免费观看| 清纯唯美经典一区二区| 国产69久久精品成人看| 欧美一区二区三区成人片在线| 少妇bbb搡bbbb搡bbbb| 疯狂添女人下部视频免费| 99久久免费国产精品| 99久久精品国产免费看| 欧美老熟妇牲交| 国产精品久久久天天影视| 成人理论片| 国产综合无码一区二区色蜜蜜| 久久久久99精品成人片试看| 抽搐一进一出试看60秒体验区| av蜜桃| 亚洲国产精品一区二区久久hs| 中文字幕视频在线看| 免费a级毛片无码免费视频| yy成人影院| 伊人精品成人久久综合全集观看| 夫前人妻被灌醉侵犯在线| 别揉我奶头~嗯~啊~视频| 亚洲理论在线a中文字幕| 娇妻系列交换27部多p在线观看| 在线天堂免费观看.www| 国产精品亚洲片夜色在线| 好男人在线观看视频高清| 无人视频在线观看免费播放影院| 视频一区视频二区制服丝袜| 亚洲无av在线中文字幕| 麻豆精品国产91久久久久久| 久久精品水蜜桃av综合天堂| 我和闺蜜在ktv被八人伦| 性free毛茸茸videos| 国产成人无码av在线播放dvd| 忘忧草影视| 欧美孕妇excels交| 亚洲色成人www永久在线观看|